[PATCH] ALSA: hda: cs35l41: Constify regmap_irq_chip
From: Krzysztof Kozlowski
Date: Wed May 28 2025 - 15:44:33 EST
Static 'struct regmap_irq_chip' is not modified so can be changed to
const for more safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
sound/pci/hda/cs35l41_hda.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c
index d9c8872b1866..d5bc81099d0d 100644
--- a/sound/pci/hda/cs35l41_hda.c
+++ b/sound/pci/hda/cs35l41_hda.c
@@ -1603,7 +1603,7 @@ static const struct regmap_irq cs35l41_reg_irqs[] = {
CS35L41_REG_IRQ(IRQ1_STATUS1, AMP_SHORT_ERR),
};
-static struct regmap_irq_chip cs35l41_regmap_irq_chip = {
+static const struct regmap_irq_chip cs35l41_regmap_irq_chip = {
.name = "cs35l41 IRQ1 Controller",
.status_base = CS35L41_IRQ1_STATUS1,
.mask_base = CS35L41_IRQ1_MASK1,
--
2.45.2
Return-Path: <linux-kernel+bounces-666016-lkml=lkml.rescloud.iu.edu@xxxxxxxxxxxxxxx>
X-Original-To: lkml@xxxxxxxxxxxxxxxxxxxx
Delivered-To: lkml@xxxxxxxxxxxxxxxxxxxx
Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [147.75.48.161])
by lkml.rescloud.iu.edu (Postfix) with ESMTPS id 3563C41E003FA
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 15:44:52 -0400 (EDT)
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sy.mirrors.kernel.org (Postfix) with ESMTPS id BA23D7AA73E
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:43:32 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 22E2B220F3A;
Wed, 28 May 2025 19:44:24 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NUbPH2wB"
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E0CA21FF4D;
Wed, 28 May 2025 19:44:23 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1748461463; cv=none; b=RYYZ+1cEMR65wwosnGIwR1m7LT+gZnR6EJKMfT12MgsAjp2JuhHYOzdZF7BEtDEF1/ctG5r/p/inneobLBBP2cEDqBALTFXOF9a5u93OaXW8/A0oz7ZcPxOgZdHnTQJLuWh1RgVEA4okRWT2ngjlQycZlB14uOazH5TClMzefIc=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1748461463; c=relaxed/simple;
bh=/GAWSVucG8SbHamo6B76TegesWUJZ7voiwNEeP8F6G8=;
h=Subject:From:In-Reply-To:References:Message-Id:Date:To:Cc; b=hJOovykz8fM+i/pg5xygscph5eirs5y/Ji3K1b7EgFKKHeln4krPaaQuTlpXxfQy9kpnEdsD4ds66M1x8lriGLLA4GD0emxGwMq1UrcaJm97d3SBWSG08g97VAReFJ7idoRG7bT35MMSM0NW7jb+QKoJnUd6Ss/sYtUl9U5ifOg=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NUbPH2wB; arc=none smtp.client-ip=10.30.226.201
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CED6C4CEEB;
Wed, 28 May 2025 19:44:23 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
s=k20201202; t=1748461463;
bh=/GAWSVucG8SbHamo6B76TegesWUJZ7voiwNEeP8F6G8=;
h=Subject:From:In-Reply-To:References:Date:To:Cc:From;
b=NUbPH2wBzW/tpeCAH5qbsHDcYs62AZUItCwzr1tBtr+a0OA5CyJWgaUTD9aGZCfb2
qlydUGUl/3gGYOwBVS/w5zjxc+phB1ZvX9V+RYkE27OZzMXq7ML/JedjGoj6MhJ/0s
oS6nTdCRssJ8TWMb6blHWG5JsIFxYBp/1MsBgQ57ZvBPRlABzLY94l7crpq1OrFiAB
oCnivO77KBAneghQfjk2PtiX6hv547S4Q/i10fLlwC5+ULSSGgRchNPEUEVE+KQ2+i
X2xLxsVu/Q18VotxEO7SfbnnjEY+wQ1Cg7m6Bb4BSJzTJQ4Jj1flwHtTWJxpS/ZLeX
gXIUpmEgjGziw==
Received: from [10.30.226.235] (localhost [IPv6:::1])
by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 710DC3822D1A;
Wed, 28 May 2025 19:44:58 +0000 (UTC)
Subject: Re: [GIT PULL] Btrfs fixup for 6.16 pull request
From: pr-tracker-bot@xxxxxxxxxx
In-Reply-To: <cover.1748346039.git.dsterba@xxxxxxxx>
References: <cover.1748346039.git.dsterba@xxxxxxxx>
X-PR-Tracked-List-Id: <linux-kernel.vger.kernel.org>
X-PR-Tracked-Message-Id: <cover.1748346039.git.dsterba@xxxxxxxx>
X-PR-Tracked-Remote: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.16-tag
X-PR-Tracked-Commit-Id: b83825a8f56a34e7352e424aae64ffe6b88247d1
X-PR-Merge-Tree: torvalds/linux.git
X-PR-Merge-Refname: refs/heads/master
X-PR-Merge-Commit-Id: a56baa225308e697163e74bae0cc623a294073d4
Message-Id: <174846149712.2536722.8845147636854077581.pr-tracker-bot@xxxxxxxxxx>
Date: Wed, 28 May 2025 19:44:57 +0000
To: David Sterba <dsterba@xxxxxxxx>
Cc: torvalds@xxxxxxxxxxxxxxxxxxxx, David Sterba <dsterba@xxxxxxxx>, linux-btrfs@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Precedence: bulk
X-Mailing-List: linux-kernel@xxxxxxxxxxxxxxx
List-Id: <linux-kernel.vger.kernel.org>
List-Subscribe: <mailto:linux-kernel+subscribe@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@xxxxxxxxxxxxxxx>
X-Spam-Status: No, score=-6.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham
autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lkml.rescloud.iu.edu
The pull request you sent on Tue, 27 May 2025 13:49:22 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.16-tag
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a56baa225308e697163e74bae0cc623a294073d4
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
Return-Path: <linux-kernel+bounces-666017-lkml=lkml.rescloud.iu.edu@xxxxxxxxxxxxxxx>
X-Original-To: lkml@xxxxxxxxxxxxxxxxxxxx
Delivered-To: lkml@xxxxxxxxxxxxxxxxxxxx
Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99])
by lkml.rescloud.iu.edu (Postfix) with ESMTPS id 6BF1F41E003FB
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 15:44:52 -0400 (EDT)
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8DEE4A27C80
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:44:31 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 85577220F4B;
Wed, 28 May 2025 19:44:24 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tI8y4QfZ"
Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id D821021FF44
for <linux-kernel@xxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:44:21 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1748461463; cv=none; b=VhqLkv9+3Thr25WgJNeutCr3x6E9BRtXyxeq/WLB7JlSVcKfjMPbsQO7Cm8uXDt4QzoA/cIS4Pk2A1BkV/Y7MS7pY78Wyay4FEjFENmXdRinsrotbgALs3RXl6h93x8cfTKcj8Sh0QnRge3J8kcRGCjQpCWFSdJsXL0vGhqQ03I=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1748461463; c=relaxed/simple;
bh=yC4KHqUdMBe7woj+QjRPOzZVPjDv4hG1MYsFQGX6i7U=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=X9KHQZFXHP5ZKhQccSvXMTF6XRpo7cRaS5SEe3wcgUdfDmF5K+TcYZrA7PkgQ+a0I7xkapJKG0axev/FSJKkB1Ea7YxCdUIJSNXJunQT6G6I6I8UzJcbW7Gu3aqXGMVHf74vgZ6qxzV1aaKAkzVUZqGQ+9018FZlBQas9tv9q8U=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tI8y4QfZ; arc=none smtp.client-ip=209.85.221.48
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org
Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3a4e749d7b2so34907f8f.0
for <linux-kernel@xxxxxxxxxxxxxxx>; Wed, 28 May 2025 12:44:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=linaro.org; s=google; t=1748461460; x=1749066260; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=7BbIwvkOqMe2XjAOSq/t2dzQvZrYhANMJuUHYM+UmQU=;
b=tI8y4QfZH5Vo8taPpABEOg3J19WSjWSsHUMmCyBZB6A1NBmDG0ut7brKnEANZSRhTM
N10A7LpGHkXjlo/rP2zQ+IoL+rH8xgG/mY3TiEyElHtL5ByQTGHriAByuBzHbyokBl9T
nX+OdmnkDCyT/sVmGyf9y+eiE/0D+9ZV8DgpBdVaHsTPDpDQvsXZXGkRx7P9Y39k3uVI
jP82lh9bVxrY5Ur6nFnEx4Oc9CJPSsc5GFl3ZVi3jHCMvIgTnYtPaDeMcls0ssbCP6Q1
zqoWOkgHgtsGtFMvBLBABZlfwCpfHk/c1hvvSPmCqlM8UXuK2QK6LZ82r+DHnSO5NCBp
8X+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1748461460; x=1749066260;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=7BbIwvkOqMe2XjAOSq/t2dzQvZrYhANMJuUHYM+UmQU=;
b=uAvwZqfnEtHj2/tRaiZCuU3JDa6W26uu1D4j2VntHqD0bmRR/mYOwoVcxvXB/DyipZ
swPZRClY7+DZ/YXpbeIMyYhi2wBwM6iVrNYSpUQ8cs0MN6C1IweJKEJFVvPY+g1lpwTU
1btjaq+XioAmcsLRI2Ey7+xGrYMmcVafTk8I9VP9PkaOmXIX9QDnQPN8ixMTVhZI+f8h
QWk76IZTwQl8tuyMPQH77eNz+/uV7X5em1juBn/cnEowbOrWHEbzZ5Ci9iIbldd86fvW
B6MIMg40sy7obhaMAIwRbiRT27n3lmxBu9mDKehWTj/LJaYduYKpT1VbfmeJScjD5QKF
jJAQ==
X-Forwarded-Encrypted: i=1; AJvYcCX06xGSpVMyRA1923JFij0QPMPbr3q1bw6y29zj3UlIk8Cn8zpr7sXU64QvNWv+TK0VacNVl2aDsbdXows=@vger.kernel.org
X-Gm-Message-State: AOJu0Yx35u9hpLdZ5bh0k2+gYXoJbiCj30l45yASpNsPFblBLT5pB+bf
dnpgIE/+f7m9K6dHazgdBTsT56g1kAt0ERb8GKiFzZV591JwN/weEyQpng/QDwXK+q0=
X-Gm-Gg: ASbGncuTSTP9hfko4My99JRWzoZFJ3dnbq7Tg2Z156GQkCOpeFBvFmcJ794q0sfWxw7
1GSOlxZRdX5kLYLXx/fdp09f7p2a2ztg4uHzCdbK6cvKit38+NpiJkuwPjVQNMU8GntNkcXQTHx
VRzr2Rz+MinGXifE9s6Dxz0H8DBQZa1rRMlaqLK2ndAD2dBnKMWz0L1Mt/Htkce0KhJQ8fOJe8A
1IGPbABsaECWr7ytslqVR7Ufxx+GlU88ntjkXrlThRg6h5TVKWECKN2y//jmcY5Eawur6+h4qXp
UTzZq58IF+Qq18gSc2Ji4zhZMr9AI7xmqrzExVvGtBre+QvPuYvyNbV3oNMIGQ==
X-Google-Smtp-Source: AGHT+IFT2j1LhVVZ7+ic2IRAXwmIkl8GYWLIuAi2NSFZzzml1GNKxQj/yqHVtyoR+IuomRnTSsLtVQ==
X-Received: by 2002:a05:6000:1a8f:b0:3a3:7ba5:a225 with SMTP id ffacd0b85a97d-3a4e85d3136mr1236426f8f.0.1748461460095;
Wed, 28 May 2025 12:44:20 -0700 (PDT)
Received: from kuoka.. ([178.197.223.125])
by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4eac8f128sm2342354f8f.60.2025.05.28.12.44.18
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 28 May 2025 12:44:19 -0700 (PDT)
From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
To: James Ogletree <jogletre@xxxxxxxxxxxxxxxxxxxxx>,
Fred Treven <fred.treven@xxxxxxxxxx>,
Ben Bright <ben.bright@xxxxxxxxxx>,
Lee Jones <lee@xxxxxxxxxx>,
Matti Vaittinen <mazziesaccount@xxxxxxxxx>,
Aaro Koskinen <aaro.koskinen@xxxxxx>,
Andreas Kemnade <andreas@xxxxxxxxxxxx>,
Kevin Hilman <khilman@xxxxxxxxxxxx>,
Roger Quadros <rogerq@xxxxxxxxxx>,
Tony Lindgren <tony@xxxxxxxxxxx>,
patches@xxxxxxxxxxxxxxxxxxxxx,
linux-kernel@xxxxxxxxxxxxxxx,
linux-omap@xxxxxxxxxxxxxxx
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Subject: [PATCH] mfd: Constify reg_sequence and regmap_irq
Date: Wed, 28 May 2025 21:44:17 +0200
Message-ID: <20250528194416.567127-2-krzysztof.kozlowski@xxxxxxxxxx>
X-Mailer: git-send-email 2.45.2
Precedence: bulk
X-Mailing-List: linux-kernel@xxxxxxxxxxxxxxx
List-Id: <linux-kernel.vger.kernel.org>
List-Subscribe: <mailto:linux-kernel+subscribe@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@xxxxxxxxxxxxxxx>
MIME-Version: 1.0
X-Developer-Signature: v=1; a=openpgp-sha256; l=3240; i=krzysztof.kozlowski@xxxxxxxxxx;
h=from:subject; bh=yC4KHqUdMBe7woj+QjRPOzZVPjDv4hG1MYsFQGX6i7U=;
b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBoN2eQ1RTUYokQK89V/x3fc5Nk2JoS5grKWaWB2
oB8JTnzBA2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaDdnkAAKCRDBN2bmhouD
1wG5D/4weq8tgGziRWH7bFRVssTROgc6AUGNg/YqHqxQCuR2Q7pd0zoybCGc9Nj1AVqRvu9+8UW
bx7IiRuFfrxIwQ3MabTH2db9QQpbu13J9ynWJNEq59iQY1Ac2UTrEqAdX/irNKLKLHfhANmELzB
ND9kcjjBz/OJASL7Gh5mskTRaCcHhZtC6929o/KBUdNG2cOvtUO2L9jvondUYdKxO29yF3+2sSK
v9oFN6NDSLfe0262zcGPhgCsGWg4AqrDhIWjL7QxW77AURX1a3LtHI6qPXXHu1oXPs+Lh+BAdT7
aG++kHdqJlh0mnn2HUBW4n2ERmPc9ZBTZ5vJKDM783sfv1OAm4imVsCPBLrWFL1+jJZaA4AxNWy
PNYDkcu8miPwB1HoSBNT+6d/rr/QrTFf1M3TuGPy2m0fxeXGr6Fc+8Su9PfzP7IE778VRY6vXMh
z9fKGkSQMcB+aMZeOsUyg0FXQwo1H4FNW3gKMC94A6tOdSkHiFBeaOLjyUJRpRxAqRu2T1mM2/6
u6Paikv0vWQ3FHiAGTM14tq58rhWrS9BSTwTbvhsGOGpP6ybPfqvaSMYxIgHR5nT+a++2e0EQKc
Jl5L83snCqU1Yeo06DuXRI+0G/aSqCWjQ9fKOWPG4dGVOTFOTbqI7jGzzi/Upvl+/EqC4GeE0cU ibB3Kh87rvU4PcA==
X-Developer-Key: i=krzysztof.kozlowski@xxxxxxxxxx; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham
autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lkml.rescloud.iu.edu
Static 'struct reg_sequence' array, 'struct regmap_irq_sub_irq_map' and
'struct regmap_irq_chip ' are not modified so can be changed to const
for more safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
drivers/mfd/cs40l50-core.c | 2 +-
drivers/mfd/rohm-bd71828.c | 2 +-
drivers/mfd/tps65219.c | 4 ++--
drivers/mfd/twl6040.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/mfd/cs40l50-core.c b/drivers/mfd/cs40l50-core.c
index 4859a33777a0..c91bccda0858 100644
--- a/drivers/mfd/cs40l50-core.c
+++ b/drivers/mfd/cs40l50-core.c
@@ -52,7 +52,7 @@ static const struct regmap_irq cs40l50_reg_irqs[] = {
CS40L50_GLOBAL_ERROR_MASK),
};
-static struct regmap_irq_chip cs40l50_irq_chip = {
+static const struct regmap_irq_chip cs40l50_irq_chip = {
.name = "cs40l50",
.status_base = CS40L50_IRQ1_INT_1,
.mask_base = CS40L50_IRQ1_MASK_1,
diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c
index 738d8b3b9ffe..47e574a57077 100644
--- a/drivers/mfd/rohm-bd71828.c
+++ b/drivers/mfd/rohm-bd71828.c
@@ -223,7 +223,7 @@ static unsigned int bit5_offsets[] = {3}; /* VSYS IRQ */
static unsigned int bit6_offsets[] = {1, 2}; /* DCIN IRQ */
static unsigned int bit7_offsets[] = {0}; /* BUCK IRQ */
-static struct regmap_irq_sub_irq_map bd718xx_sub_irq_offsets[] = {
+static const struct regmap_irq_sub_irq_map bd718xx_sub_irq_offsets[] = {
REGMAP_IRQ_MAIN_REG_OFFSET(bit0_offsets),
REGMAP_IRQ_MAIN_REG_OFFSET(bit1_offsets),
REGMAP_IRQ_MAIN_REG_OFFSET(bit2_offsets),
diff --git a/drivers/mfd/tps65219.c b/drivers/mfd/tps65219.c
index fd390600fbf0..30bdd37413fd 100644
--- a/drivers/mfd/tps65219.c
+++ b/drivers/mfd/tps65219.c
@@ -238,7 +238,7 @@ static unsigned int tps65214_bit4_offsets[] = { TPS65214_REG_INT_BUCK_3_POS };
static unsigned int tps65214_bit5_offsets[] = { TPS65214_REG_INT_LDO_1_2_POS };
static unsigned int tps65214_bit7_offsets[] = { TPS65214_REG_INT_PB_POS };
-static struct regmap_irq_sub_irq_map tps65219_sub_irq_offsets[] = {
+static const struct regmap_irq_sub_irq_map tps65219_sub_irq_offsets[] = {
REGMAP_IRQ_MAIN_REG_OFFSET(bit0_offsets),
REGMAP_IRQ_MAIN_REG_OFFSET(bit1_offsets),
REGMAP_IRQ_MAIN_REG_OFFSET(bit2_offsets),
@@ -249,7 +249,7 @@ static struct regmap_irq_sub_irq_map tps65219_sub_irq_offsets[] = {
REGMAP_IRQ_MAIN_REG_OFFSET(bit7_offsets),
};
-static struct regmap_irq_sub_irq_map tps65215_sub_irq_offsets[] = {
+static const struct regmap_irq_sub_irq_map tps65215_sub_irq_offsets[] = {
REGMAP_IRQ_MAIN_REG_OFFSET(bit0_offsets),
REGMAP_IRQ_MAIN_REG_OFFSET(bit1_offsets),
REGMAP_IRQ_MAIN_REG_OFFSET(bit2_offsets),
diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c
index 218d6195fad2..562a0f939f6e 100644
--- a/drivers/mfd/twl6040.c
+++ b/drivers/mfd/twl6040.c
@@ -69,7 +69,7 @@ static const struct reg_default twl6040_defaults[] = {
{ 0x2E, 0x00 }, /* REG_STATUS (ro) */
};
-static struct reg_sequence twl6040_patch[] = {
+static const struct reg_sequence twl6040_patch[] = {
/*
* Select I2C bus access to dual access registers
* Interrupt register is cleared on read
--
2.45.2
Return-Path: <linux-kernel+bounces-666018-lkml=lkml.rescloud.iu.edu@xxxxxxxxxxxxxxx>
X-Original-To: lkml@xxxxxxxxxxxxxxxxxxxx
Delivered-To: lkml@xxxxxxxxxxxxxxxxxxxx
Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99])
by lkml.rescloud.iu.edu (Postfix) with ESMTPS id AC95841E003FA
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 15:45:06 -0400 (EDT)
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sv.mirrors.kernel.org (Postfix) with ESMTPS id BD0FAA27BAC
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:44:45 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 248F4220F3E;
Wed, 28 May 2025 19:44:26 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DkL4T8r9"
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CF1F22069F
for <linux-kernel@xxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:44:25 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1748461465; cv=none; b=ZMRiEuCCUevkuCAd7wBUshwTwahs3+XM8akfSJ59NnRK3AoTkcWi7MQR34L+VwCouZPdls0fXXGW1MB0qKb+5p5v1gXRAu8m6HT3IG1Wnt/fK02aYjiVSOwxSSOVHprDU/RSk5kg5Ot8zpv03tPfEZJXC1AEObi//JXSPMnfVjo=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1748461465; c=relaxed/simple;
bh=l+FD8tfxx5PXi4a2mxT95JkOscGaL2qMoClkGjO01+o=;
h=Subject:From:In-Reply-To:References:Message-Id:Date:To:Cc; b=ZVfZkS76/TOTWSp/iFqNQRgng+Xg1Z9lMRLtFJp+Z6hu/lLftETf6BdQpOvESKQsj5kAF3kw035uP4blfvHdHL1qZJ/NbL2sKElA6XmrL0OGCbHHG8O9ATX1V6QnpocNM/JkWZu1EpHmeGaOfvcYYlgHjoSRn7LCgt6QFJaadT0=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DkL4T8r9; arc=none smtp.client-ip=10.30.226.201
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F465C4CEE3;
Wed, 28 May 2025 19:44:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
s=k20201202; t=1748461465;
bh=l+FD8tfxx5PXi4a2mxT95JkOscGaL2qMoClkGjO01+o=;
h=Subject:From:In-Reply-To:References:Date:To:Cc:From;
b=DkL4T8r9MtomB0+Yr/owhYUBgbHG3cekK0R9p0qpl3m4KYyzehzSvQCBkU6aWEX8+
HFs6uaHXsmdFqfHT4J8Mro05aGTUr56mQnH+wojeoIydAm58o6dxbj9KS+v8U9GJaN
rZ8gxvOEHanArMqPJeaIvA9nNtKl0OTkOUKXcKi2+OCgHVIy0dT2DRqN+F2C8CXaM3
XR8uVfX9yXYmTy6ERGU6N/jyijdBPBBedRd5n5b0s+RuhM056flK2P1sTdGZ1IOG11
r5pcecviVjlb5ekIR6PbjrOB73ba9tsDD0tPu8/Ep2weP1W7AlixwXVApU2fHVk/Gz
LzPUhi6rG/95w==
Received: from [10.30.226.235] (localhost [IPv6:::1])
by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 70CF53822D1A;
Wed, 28 May 2025 19:45:00 +0000 (UTC)
Subject: Re: [GIT PULL] exfat update for 6.16-rc1
From: pr-tracker-bot@xxxxxxxxxx
In-Reply-To: <CAKYAXd_vDJU-iBpWVC_6VYKH0YOGpZ9m5-9sw-kzDzyTgBAADg@xxxxxxxxxxxxxx>
References: <CAKYAXd_vDJU-iBpWVC_6VYKH0YOGpZ9m5-9sw-kzDzyTgBAADg@xxxxxxxxxxxxxx>
X-PR-Tracked-List-Id: <linux-kernel.vger.kernel.org>
X-PR-Tracked-Message-Id: <CAKYAXd_vDJU-iBpWVC_6VYKH0YOGpZ9m5-9sw-kzDzyTgBAADg@xxxxxxxxxxxxxx>
X-PR-Tracked-Remote: git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git tags/exfat-for-6.16-rc1
X-PR-Tracked-Commit-Id: 46a557694b464881b3c2c4a0ba389a6436419a37
X-PR-Merge-Tree: torvalds/linux.git
X-PR-Merge-Refname: refs/heads/master
X-PR-Merge-Commit-Id: c69d8e9de00995ebc69392a470da99256127fdf1
Message-Id: <174846149892.2536722.11099914443521995826.pr-tracker-bot@xxxxxxxxxx>
Date: Wed, 28 May 2025 19:44:58 +0000
To: Namjae Jeon <linkinjeon@xxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Sungjong Seo <sj1557.seo@xxxxxxxxxxx>, "Yuezhang.Mo" <Yuezhang.Mo@xxxxxxxx>
Precedence: bulk
X-Mailing-List: linux-kernel@xxxxxxxxxxxxxxx
List-Id: <linux-kernel.vger.kernel.org>
List-Subscribe: <mailto:linux-kernel+subscribe@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@xxxxxxxxxxxxxxx>
X-Spam-Status: No, score=-6.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham
autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lkml.rescloud.iu.edu
The pull request you sent on Tue, 27 May 2025 21:38:11 +0900:
> git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git tags/exfat-for-6.16-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c69d8e9de00995ebc69392a470da99256127fdf1
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
Return-Path: <linux-kernel+bounces-666019-lkml=lkml.rescloud.iu.edu@xxxxxxxxxxxxxxx>
X-Original-To: lkml@xxxxxxxxxxxxxxxxxxxx
Delivered-To: lkml@xxxxxxxxxxxxxxxxxxxx
Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99])
by lkml.rescloud.iu.edu (Postfix) with ESMTPS id 2C9AB41E003FA
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 15:45:25 -0400 (EDT)
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sv.mirrors.kernel.org (Postfix) with ESMTPS id 66586A27D13
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:45:04 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 21BFA221733;
Wed, 28 May 2025 19:44:28 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MqI+xoLm"
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AEC722156A;
Wed, 28 May 2025 19:44:27 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1748461467; cv=none; b=D6gIQvaa8Y9bzxTh5JdiGB9eOFbpoSp7O7NFPObI+kOtYTsFjuHKda0AMJP/spuJy/n5gNZXiIlGNQDHQcYrXMrb1mYy04cyhNN7sdt76KY4RkDmPnk5NOHYaVs2lQye5fEPkvtwmPDmhIMiF6H8t1Id6FabDZmkguKa2StCpBQ=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1748461467; c=relaxed/simple;
bh=32Xg1Yg4UeKVa/Otm8FkA4BCdw5ePRDgybfv6Yout+0=;
h=Subject:From:In-Reply-To:References:Message-Id:Date:To:Cc; b=YrUXqWe75IHkqbocPCs20aVXxtLTYUiQyygaPXBHYhZgFiD72fZlQIPKmWXTJGwNwFv+5FXKgeDJ/Duqew98mM64SOSXtIQ1wmZvEKtYNN9n/kAr0S+YFV3CRzL1FN8lwi1W1RJUsDxE4+p32R4gb7GSUEo0lq5dntFGmQtSk98=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MqI+xoLm; arc=none smtp.client-ip=10.30.226.201
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AF41C4CEE3;
Wed, 28 May 2025 19:44:27 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
s=k20201202; t=1748461467;
bh=32Xg1Yg4UeKVa/Otm8FkA4BCdw5ePRDgybfv6Yout+0=;
h=Subject:From:In-Reply-To:References:Date:To:Cc:From;
b=MqI+xoLm4Jit0CSGvF8Yec3RHVJKYIw9gf4s0qtzcnoTxAMt/lgA6CW9h0i3lY0sR
VJospUHqbxt++uLIMzDpeh406DKKfZeLYivKmO4nisenWV12IyHA44gUfI/LeBjIBR
K5UVwcr/TgoBAocYOfG66MeEO+u2f2uLWKAtyNSdY/S5mOW44T5u+lMwWfj2N+KnhY
mWYrU87am176lpekLI8g8U5gF30XfkGBb7duJlq3K6Jlk3e4neFA1BLY1wR4VEi3Ga
ADQHAOhCXwfJ+GB+sBYoWYd0DzFw88Kv5iRZrN7G5IaxZlQ+SgzUlLe+lRBJ8uXvnx
+HbanNz9oeKXQ==
Received: from [10.30.226.235] (localhost [IPv6:::1])
by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 70E633822D1A;
Wed, 28 May 2025 19:45:02 +0000 (UTC)
Subject: Re: [GIT PULL] ntfs3: bugfixes for 6.16
From: pr-tracker-bot@xxxxxxxxxx
In-Reply-To: <20250527160246.6905-1-almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>
References: <20250527160246.6905-1-almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>
X-PR-Tracked-List-Id: <linux-kernel.vger.kernel.org>
X-PR-Tracked-Message-Id: <20250527160246.6905-1-almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>
X-PR-Tracked-Remote: https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_6.16
X-PR-Tracked-Commit-Id: eeb0819318cc0c30161821d429ca022dfbedc6ac
X-PR-Merge-Tree: torvalds/linux.git
X-PR-Merge-Refname: refs/heads/master
X-PR-Merge-Commit-Id: e9d712653633a05ffff19c39809a7c1820edb2bf
Message-Id: <174846150091.2536722.734456989379141313.pr-tracker-bot@xxxxxxxxxx>
Date: Wed, 28 May 2025 19:45:00 +0000
To: Konstantin Komarov <almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>
Cc: torvalds@xxxxxxxxxxxxxxxxxxxx, ntfs3@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Precedence: bulk
X-Mailing-List: linux-kernel@xxxxxxxxxxxxxxx
List-Id: <linux-kernel.vger.kernel.org>
List-Subscribe: <mailto:linux-kernel+subscribe@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@xxxxxxxxxxxxxxx>
X-Spam-Status: No, score=-6.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham
autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lkml.rescloud.iu.edu
The pull request you sent on Tue, 27 May 2025 18:02:46 +0200:
> https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_6.16
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e9d712653633a05ffff19c39809a7c1820edb2bf
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
Return-Path: <linux-kernel+bounces-666020-lkml=lkml.rescloud.iu.edu@xxxxxxxxxxxxxxx>
X-Original-To: lkml@xxxxxxxxxxxxxxxxxxxx
Delivered-To: lkml@xxxxxxxxxxxxxxxxxxxx
Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99])
by lkml.rescloud.iu.edu (Postfix) with ESMTPS id 852C941E003FA
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 15:45:37 -0400 (EDT)
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sv.mirrors.kernel.org (Postfix) with ESMTPS id 79CA8A27D51
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:45:16 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 14D9C221F0F;
Wed, 28 May 2025 19:44:30 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VR55tyDg"
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 556EE2206B5;
Wed, 28 May 2025 19:44:29 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1748461469; cv=none; b=db4tIeW5w5qb9iRDsKW+/eSftvuk6aOMmQWgbTq90v7UMcH2ZraLGJiXOhHEk35ueOQGlWAhd27N4vzkPCTyyCO7bjYDjtQfhRR5mpkEdsrlVU2JDGZCZ1QMIQ0L9LmoDeATHwTKrJUe+uIn0xBLIzgYu8q6hAuxEOtkvHMqDI4=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1748461469; c=relaxed/simple;
bh=gkJPuUEBmBa2T6rdVCbOWsZX40AzDjpo93A3cuUkLHc=;
h=Subject:From:In-Reply-To:References:Message-Id:Date:To:Cc; b=F615pLIQn/UztcZTROEHwbAbHoFBccZmssJYPkmpjVZJoyVXoDkG7T7+lTEbxUWnTKiVDbmW6fb1iu1GNB36AnP4R4wawc7HMStJnJJ7Z1EczAJSyg0+N20ddjJxVEns6caycl4a/8E9rQyc+64sb2vzzcHhKyeCQhU58caa8oc=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VR55tyDg; arc=none smtp.client-ip=10.30.226.201
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 384D4C4CEE3;
Wed, 28 May 2025 19:44:29 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
s=k20201202; t=1748461469;
bh=gkJPuUEBmBa2T6rdVCbOWsZX40AzDjpo93A3cuUkLHc=;
h=Subject:From:In-Reply-To:References:Date:To:Cc:From;
b=VR55tyDg8cJPCOkgla4sWmkS85gVbYeq2bGS/BL+MHLNJm9icHxKnoUnV4F4QlsMw
NtroM1IyJyzruJTwND3MFGkKTd1ISP11iSIA3e4U+UJ0zW0kEMBOmSTf6lVx5mjOpS
H5MU1LxHwYTPORtZc8s8vIkCPeZzeUz6AiOEYYr2pqUjB5r88hVZx5nhSqQzUDu6nT
zL6qrBF8HoAGuWYIifnviEPddAVscLeZEzFBf2pJU+o2zWjUMEP6d7NnOSBjeKnpzY
k714cRigrg15zpTlCt1NDChCUwLTZ3sqeCIFDe416f/BsMWudJgS5llI7LmOwK9xB5
TX6H1Z6u5EoNQ==
Received: from [10.30.226.235] (localhost [IPv6:::1])
by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 70D903822D1A;
Wed, 28 May 2025 19:45:04 +0000 (UTC)
Subject: Re: [GIT PULL] dlm updates for 6.16
From: pr-tracker-bot@xxxxxxxxxx
In-Reply-To: <aDXkbAcJfiMTixT2@xxxxxxxxxx>
References: <aDXkbAcJfiMTixT2@xxxxxxxxxx>
X-PR-Tracked-List-Id: <linux-kernel.vger.kernel.org>
X-PR-Tracked-Message-Id: <aDXkbAcJfiMTixT2@xxxxxxxxxx>
X-PR-Tracked-Remote: git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git dlm-6.16
X-PR-Tracked-Commit-Id: 6f8b4788266c7df3b7cfc6c665f663b4c3d09aad
X-PR-Merge-Tree: torvalds/linux.git
X-PR-Merge-Refname: refs/heads/master
X-PR-Merge-Commit-Id: b1fd8bd0cc18cd8572ac0da21418cce2ee45e04f
Message-Id: <174846150291.2536722.1487916114814230281.pr-tracker-bot@xxxxxxxxxx>
Date: Wed, 28 May 2025 19:45:02 +0000
To: David Teigland <teigland@xxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, gfs2@xxxxxxxxxxxxxxx
Precedence: bulk
X-Mailing-List: linux-kernel@xxxxxxxxxxxxxxx
List-Id: <linux-kernel.vger.kernel.org>
List-Subscribe: <mailto:linux-kernel+subscribe@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@xxxxxxxxxxxxxxx>
X-Spam-Status: No, score=-6.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham
autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lkml.rescloud.iu.edu
The pull request you sent on Tue, 27 May 2025 11:12:28 -0500:
> git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git dlm-6.16
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b1fd8bd0cc18cd8572ac0da21418cce2ee45e04f
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
Return-Path: <linux-kernel+bounces-666021-lkml=lkml.rescloud.iu.edu@xxxxxxxxxxxxxxx>
X-Original-To: lkml@xxxxxxxxxxxxxxxxxxxx
Delivered-To: lkml@xxxxxxxxxxxxxxxxxxxx
Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [147.75.48.161])
by lkml.rescloud.iu.edu (Postfix) with ESMTPS id 6A59141E003FA
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 15:45:54 -0400 (EDT)
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4E8727B38B1
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:44:35 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 261CC221FBD;
Wed, 28 May 2025 19:44:32 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NCnnsdRQ"
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55F50221F26;
Wed, 28 May 2025 19:44:31 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1748461471; cv=none; b=TPOFIl/ecyxnyR6XZKfN/AM0zhOpOUWGMgiuLwRaRE4rGOceyf3rHbXsHrLsfpzmR2HVM0au5RMUdmOH2ol1JYCJAJm1Hx49f0j0pgHMXw31pw0XnWwEHKeTM82r80vzkOPsG8vl9NWH6MTnqLfpRPebPDubZTsyAmYxPH6v2Q4=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1748461471; c=relaxed/simple;
bh=2VHIvGAt/hrHf8y1tWPpqdd3jYjPjQ6/YwGiPf5X3I4=;
h=Subject:From:In-Reply-To:References:Message-Id:Date:To:Cc; b=oCUmLA8ydRWVaUiGjgO27NSsCQG11N5MFGa7agKgugqRxFZaw2OOF9Lr+90gyy0mnDl67to0kPMpIUbNkKvAcOiGfRqrwzn+R1iVW3/pCyrcLYzVcSv8xuAIUvtYbEvMUFAerVg88N9PYMV3nfOzsKdToVZA4qdE0gLjvyKzKag=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NCnnsdRQ; arc=none smtp.client-ip=10.30.226.201
Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36DA5C4CEE3;
Wed, 28 May 2025 19:44:31 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
s=k20201202; t=1748461471;
bh=2VHIvGAt/hrHf8y1tWPpqdd3jYjPjQ6/YwGiPf5X3I4=;
h=Subject:From:In-Reply-To:References:Date:To:Cc:From;
b=NCnnsdRQhvzb+3P5rCjAQEwyWrp8uo/8XP0tDJgX6LpVyprTMB3zh+jE8YE8zO/Jg
Y0F/vYqKtNNBSqb8QbiIis8Rcl/7WaDSuqnSrwNUu9/VekO2Bp6YnpkBbuOeZD0GLG
5jNBPVd1mFOfCGG9nTb5/yN9gxRCLdDWD0GgCJMfiRb9ihqXQmMKT5mh5jB+fQo/LV
noCCdmp0XnCD1VirW5km7NU6M81UZG/WiVlt27T00stGfGYQfj+QN4XIiCyE2BpLfu
oI/Yiih7qN+AGquIFAJcT/D3MLEem2w6QvpyZsJy8Rt9l5ZNd0HFzteI7bJz66cznT
lhsjNXodu1lhg==
Received: from [10.30.226.235] (localhost [IPv6:::1])
by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 70CCA3822D1A;
Wed, 28 May 2025 19:45:06 +0000 (UTC)
Subject: Re: [GIT PULL] ext4 changes for v6.16-rc1
From: pr-tracker-bot@xxxxxxxxxx
In-Reply-To: <20250527200206.GA2433735@xxxxxxx>
References: <20250527200206.GA2433735@xxxxxxx>
X-PR-Tracked-List-Id: <linux-kernel.vger.kernel.org>
X-PR-Tracked-Message-Id: <20250527200206.GA2433735@xxxxxxx>
X-PR-Tracked-Remote: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus-6.16-rc1
X-PR-Tracked-Commit-Id: 7acd1b315cdcc03b11a3aa1f9c9c85d99ddb4f0e
X-PR-Merge-Tree: torvalds/linux.git
X-PR-Merge-Refname: refs/heads/master
X-PR-Merge-Commit-Id: d87d73895fcdbe6e45813efc473544433862364f
Message-Id: <174846150514.2536722.3328388038091912221.pr-tracker-bot@xxxxxxxxxx>
Date: Wed, 28 May 2025 19:45:05 +0000
To: Theodore Ts'o <tytso@xxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Ext4 Developers List <linux-ext4@xxxxxxxxxxxxxxx>, Linux Kernel Developers List <linux-kernel@xxxxxxxxxxxxxxx>
Precedence: bulk
X-Mailing-List: linux-kernel@xxxxxxxxxxxxxxx
List-Id: <linux-kernel.vger.kernel.org>
List-Subscribe: <mailto:linux-kernel+subscribe@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@xxxxxxxxxxxxxxx>
X-Spam-Status: No, score=-6.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham
autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lkml.rescloud.iu.edu
The pull request you sent on Tue, 27 May 2025 16:02:06 -0400:
> https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus-6.16-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d87d73895fcdbe6e45813efc473544433862364f
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
Return-Path: <linux-kernel+bounces-666022-lkml=lkml.rescloud.iu.edu@xxxxxxxxxxxxxxx>
X-Original-To: lkml@xxxxxxxxxxxxxxxxxxxx
Delivered-To: lkml@xxxxxxxxxxxxxxxxxxxx
Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [147.75.48.161])
by lkml.rescloud.iu.edu (Postfix) with ESMTPS id D33CE41E003FA
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 15:46:08 -0400 (EDT)
Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0BFED7B3AF9
for <lkml@xxxxxxxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:44:50 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id E7425220F2C;
Wed, 28 May 2025 19:44:37 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="S/9e29Q/"
Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B33B2222A0
for <linux-kernel@xxxxxxxxxxxxxxx>; Wed, 28 May 2025 19:44:34 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1748461477; cv=none; b=kK3OSaNZ/Qr1NUfuutlMiwOzmBLkSzx49pjqp6qcJlroGlw34CrDc6Mo3aix0zfcDjGKFszcmEunYZs7psjYkBNpP9/mz4M1F0hlH6m4ZelfzKHuKrEPQYnmtryG/LEyk9uI/W1A3GG84oXqDhwl5LTfi7jO3y/GOkZ7PC/BoTU=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1748461477; c=relaxed/simple;
bh=xZUOsMsyjcZ1qewKlqP/KKWUHO3l+hPWlf0MlhF4mH8=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HZw/jwdsirPduKwEp97cDa3ZlqmCUonH4uEL6MHhop4BFszYv6TQ/mX8uazYWmTGd3bI1NcEGtR/7SZ+L3ymHFpezlMhV0SXeuo5HK1kdsNfWs9IZpgostwMtcB4rGHouXHbtLqqeyIuN9BUS/WiH91pApZiXDZEsaucuXCOYs0=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=S/9e29Q/; arc=none smtp.client-ip=209.85.221.54
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org
Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-3a4e62619afso25159f8f.1
for <linux-kernel@xxxxxxxxxxxxxxx>; Wed, 28 May 2025 12:44:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=linaro.org; s=google; t=1748461473; x=1749066273; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=MrefH7AMNRY3M6Eds2DAfAOBM+dHe6KTACIdZZtLeZg=;
b=S/9e29Q/6fSKBwMw+alBjJOdyaCc0ai0p8HtGAit3//Wo1jKlSQIcBAKAzy5hctG9X
qBTvrKXiaKi0qL5i64S+S/MtU9S4tY4NUeEGcwTd9guDODUMmqFktDevv3ZOktj5vjPo
pRATjDgDHcnXFZ1XxnvDamqePrQg6gvCtGoR4UfRz57ZmJY9uworDyXoswZjtkKxlv2G
4TdhMDbYdG/gdRDhTATlhuVyG5icMTNr/tzJDJguGJvQqt2a7iPMyt+QRvq/FxnxaLa9
OsSgkiLz1Jg24dvYFoxLOdxIxs63oura9AcKo1lN+xOcyMmcV1fg1p3ZofyNEGLZeJeD
2bsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1748461473; x=1749066273;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=MrefH7AMNRY3M6Eds2DAfAOBM+dHe6KTACIdZZtLeZg=;
b=sWnscXDs7g0HLCLzNSf2nrzAHPUxn9vQkfcBn2D6RC5642PfKZ8JmQDIj6ZVSjuIBr
S5YSvVzFVXUvY22lRvnGv18xxCjHu4F7ZL1JsYJKxUqySOdIFVWqTBvCtOPTOkPi94Qw
UCgyYxYVx6CqjlkCVqwTzbA3cEN+E1kbiR+Ms4mjmcSskXsyGDCMD8C8B9L2gvxk7ucs
ZFWR3KoWz399Ex1uUf5+6KExcbyhpkK544VcN0+MsImKO3b+7ftMMlfvdP/QSPCzKZak
B9wP7pMNPYZX9E11kAaDdZgm+5A3av/kZrcxXJewg4Pvhg3IqfCb7QxpzYyp9PFlZgZx
S+gA==
X-Forwarded-Encrypted: i=1; AJvYcCX2HDAmLycqjL7xLDMFhM0s3kVkKSAH4rD9N4osvwHmhZCX4TL0SXg+Qu7r/fvZtiml9mH6ZTnhLZHy8eE=@vger.kernel.org
X-Gm-Message-State: AOJu0YxPdEGaB8CRHjZxvLozGN2j4z7iSNv/irSQtA0FVUNNycdxer21
kq22lklojSC9FYIyTPDlKZXo/MtYpzs8DSpvdm9oIbm7IpXTFo48EEKZY2KZ3nSKYSM=
X-Gm-Gg: ASbGncskAWSo6AI4f105qtG0oQc+h5s0bzg4puVnR/4M7MDtd9Yb0VtaVJ+c6FVpUJ2
Jy+6bEjNkNQr1yKT9tAvmKlIXEkPqDkKrb9tPqIoy04H38eur9tRiyAvsoEPKc3YgXYHla+OfLW
OMnLaHxLnSlOWbFdMI93HaXZBcp11HV5/2eMuGHW7q/lV+g/gobJ2sYxuOZZy2juhZ2u8PBFFsS
bnCpv3jTcM9GEptwN95XbzP9ddiiew0IwCn5P9fDfX4OLyHc9HjFRJzAeXjVhurXHUaRDUuhrG4
Km56QWAPg2xYZTcJPBycdZ6QuRKFL9HsPD3fPgc9ZnlSOwA854pIeiZBY+IOqw==
X-Google-Smtp-Source: AGHT+IGvxvb7++yzRa5veyRGs3Zx8MyIdj7JiaUbu6/iQeE+/SATCIw2rNK1UiqXpTlixKSR25x1LQ==
X-Received: by 2002:a05:6000:420f:b0:3a3:6ab0:8863 with SMTP id ffacd0b85a97d-3a4e889eb28mr1188805f8f.16.1748461473317;
Wed, 28 May 2025 12:44:33 -0700 (PDT)
Received: from kuoka.. ([178.197.223.125])
by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-450cfbf498bsm456825e9.1.2025.05.28.12.44.32
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 28 May 2025 12:44:32 -0700 (PDT)
From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
To: Lee Jones <lee@xxxxxxxxxx>,
Pavel Machek <pavel@xxxxxxxxxx>,
Fenglin Wu <quic_fenglinw@xxxxxxxxxxx>,
linux-leds@xxxxxxxxxxxxxxx,
linux-kernel@xxxxxxxxxxxxxxx
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>,
stable@xxxxxxxxxxxxxxx
Subject: [PATCH] leds: flash: leds-qcom-flash: Fix registry access after re-bind
Date: Wed, 28 May 2025 21:44:26 +0200
Message-ID: <20250528194425.567172-2-krzysztof.kozlowski@xxxxxxxxxx>
X-Mailer: git-send-email 2.45.2
Precedence: bulk
X-Mailing-List: linux-kernel@xxxxxxxxxxxxxxx
List-Id: <linux-kernel.vger.kernel.org>
List-Subscribe: <mailto:linux-kernel+subscribe@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@xxxxxxxxxxxxxxx>
MIME-Version: 1.0
X-Developer-Signature: v=1; a=openpgp-sha256; l=2830; i=krzysztof.kozlowski@xxxxxxxxxx;
h=from:subject; bh=xZUOsMsyjcZ1qewKlqP/KKWUHO3l+hPWlf0MlhF4mH8=;
b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBoN2eaz7n8pPjPnbi145qnYfYgaQHvOCqX2u977
76YTVyTGoKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaDdnmgAKCRDBN2bmhouD
1/MTD/4v9AfAXDInQwz5wRgjEGH1dJLIxSqTY/BFyhTxRZ8A9tu/zhi5vjHtGelpAM3NLeWt5t/
vMq5UiUIfLBHQnl8/PBDCSiTijAkVetgZ/aCAG+fGBp/IKzFH5jvoDJdJzDye0Pm/3Pz1rl+xOb
cgGISxdSSkZh7cIBW2U+YDqziYH+lAonOWY0lYDyTUJgnpqEidnGpHtFJeA7OjxsuiQm/oW50Us
2cz73IsdmpfkRgw7qzKQGuDGHuWXTiDEwHS/hxbgpPBx/yi9WFV5TVaXLPe4JF9iZFdrCnnzmlt
7zoEojhXgciN9jQd4WoPTGymAgoVZFZNmG5rH+7dO3gUBdgv0f+ejNKidALCZd4zpwlkNn1Eg54
jjPnues6VZx3d8JESDR/qZFSejWaa+Bj/mv7cF6W32J1NsJzA1oyzB1POjS+sFkztfEsbYVvrvk
vM4rLrcezJZ3fyWgfDOELRj7urSMSTuWwt8cCy5abaA/JRIgEzr5dws/0zJdo3810WlQ/PJj7Ab
AWwrPL/hMc6hlUxg5kJXoIarXEyx8dmpr3BU5+Xg7ztAnajdSO1kQ0xoz8s6iCUv24fjvWnd1Gn
E1TS9Ax4vfI8nlV1iF6LxhcPaNfp8jagm5kpT8F7VfOkxGl9VmN1infFYcP+/1L6dnpygYtmRu2 MHcVDn/sNj3FEDw==
X-Developer-Key: i=krzysztof.kozlowski@xxxxxxxxxx; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham
autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lkml.rescloud.iu.edu
Driver in probe() updates each of 'reg_field' with 'reg_base':
for (i = 0; i < REG_MAX_COUNT; i++)
regs[i].reg += reg_base;
'reg_field' array (under variable 'regs' above) is statically allocated,
this each re-bind would add another 'reg_base' leading to bogus
register addresses. Constify the local 'reg_field' array and duplicate
it in probe to solve this.
Fixes: 96a2e242a5dc ("leds: flash: Add driver to support flash LED module in QCOM PMICs")
Cc: <stable@xxxxxxxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
This is a nice example why constifying static memory is useful.
---
drivers/leds/flash/leds-qcom-flash.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/leds/flash/leds-qcom-flash.c b/drivers/leds/flash/leds-qcom-flash.c
index b4c19be51c4d..b8a48c15d797 100644
--- a/drivers/leds/flash/leds-qcom-flash.c
+++ b/drivers/leds/flash/leds-qcom-flash.c
@@ -117,7 +117,7 @@ enum {
REG_MAX_COUNT,
};
-static struct reg_field mvflash_3ch_regs[REG_MAX_COUNT] = {
+static const struct reg_field mvflash_3ch_regs[REG_MAX_COUNT] = {
REG_FIELD(0x08, 0, 7), /* status1 */
REG_FIELD(0x09, 0, 7), /* status2 */
REG_FIELD(0x0a, 0, 7), /* status3 */
@@ -132,7 +132,7 @@ static struct reg_field mvflash_3ch_regs[REG_MAX_COUNT] = {
REG_FIELD(0x58, 0, 2), /* therm_thrsh3 */
};
-static struct reg_field mvflash_4ch_regs[REG_MAX_COUNT] = {
+static const struct reg_field mvflash_4ch_regs[REG_MAX_COUNT] = {
REG_FIELD(0x06, 0, 7), /* status1 */
REG_FIELD(0x07, 0, 6), /* status2 */
REG_FIELD(0x09, 0, 7), /* status3 */
@@ -854,11 +854,17 @@ static int qcom_flash_led_probe(struct platform_device *pdev)
if (val == FLASH_SUBTYPE_3CH_PM8150_VAL || val == FLASH_SUBTYPE_3CH_PMI8998_VAL) {
flash_data->hw_type = QCOM_MVFLASH_3CH;
flash_data->max_channels = 3;
- regs = mvflash_3ch_regs;
+ regs = devm_kmemdup(dev, mvflash_3ch_regs, sizeof(mvflash_3ch_regs),
+ GFP_KERNEL);
+ if (!regs)
+ return -ENOMEM;
} else if (val == FLASH_SUBTYPE_4CH_VAL) {
flash_data->hw_type = QCOM_MVFLASH_4CH;
flash_data->max_channels = 4;
- regs = mvflash_4ch_regs;
+ regs = devm_kmemdup(dev, mvflash_4ch_regs, sizeof(mvflash_3ch_regs),
+ GFP_KERNEL);
+ if (!regs)
+ return -ENOMEM;
rc = regmap_read(regmap, reg_base + FLASH_REVISION_REG, &val);
if (rc < 0) {
@@ -880,6 +886,7 @@ static int qcom_flash_led_probe(struct platform_device *pdev)
dev_err(dev, "Failed to allocate regmap field, rc=%d\n", rc);
return rc;
}
+ devm_kfree(dev, regs); /* devm_regmap_field_bulk_alloc() makes copies */
platform_set_drvdata(pdev, flash_data);
mutex_init(&flash_data->lock);
--
2.45.2