* [PATCH] staging: media: atomisp: constify pmic_name array
@ 2026-06-19 11:19 Mohammad Abbasi
2026-06-23 10:58 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Mohammad Abbasi @ 2026-06-19 11:19 UTC (permalink / raw)
To: hansg, mchehab, andy, gregkh
Cc: sakari.ailus, linux-media, linux-kernel, linux-staging,
Mohammad Abbasi, Mohammad Abbasi
Fix the following checkpatch warning:
WARNING: static const char * array should probably be static const char * const
Signed-off-by: Mohammad Abbasi <mohammad.v184@gmail.com>
---
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c b/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
index a1d3a1692..d628fe4dc 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
@@ -109,7 +109,7 @@ static enum {
PMIC_CRYSTALCOVE
} pmic_id;
-static const char *pmic_name[] = {
+static const char * const pmic_name[] = {
[PMIC_UNSET] = "ACPI device PM",
[PMIC_REGULATOR] = "regulator driver",
[PMIC_AXP] = "XPower AXP288 PMIC",
--
2.54.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] staging: media: atomisp: constify pmic_name array
2026-06-19 11:19 [PATCH] staging: media: atomisp: constify pmic_name array Mohammad Abbasi
@ 2026-06-23 10:58 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2026-06-23 10:58 UTC (permalink / raw)
To: Mohammad Abbasi
Cc: hansg, mchehab, andy, gregkh, sakari.ailus, linux-media,
linux-kernel, linux-staging, Mohammad Abbasi
On Fri, Jun 19, 2026 at 02:49:07PM +0330, Mohammad Abbasi wrote:
> Fix the following checkpatch warning:
>
> WARNING: static const char * array should probably be static const char * const
Missing blank line here.
> Signed-off-by: Mohammad Abbasi <mohammad.v184@gmail.com>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-23 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 11:19 [PATCH] staging: media: atomisp: constify pmic_name array Mohammad Abbasi
2026-06-23 10:58 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®