* [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file
@ 2025-02-18 18:57 Madhur Kumar
2025-02-18 18:57 ` [PATCH 2/2] staging: sm750fb: Make g_fbmode truly constant Madhur Kumar
2025-02-18 19:09 ` [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file Dan Carpenter
0 siblings, 2 replies; 3+ messages in thread
From: Madhur Kumar @ 2025-02-18 18:57 UTC (permalink / raw)
To: sudipm.mukherjee, teddy.wang
Cc: gregkh, linux-fbdev, linux-staging, linux-kernel, Madhur Kumar
Signed-off-by: Madhur Kumar <madhurkumar004@gmail.com>
---
drivers/staging/sm750fb/sm750.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index 097d6558b7fc..8eab90f0f33b 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -50,9 +50,9 @@ struct init_status {
struct lynx_accel {
/* base virtual address of DPR registers */
- volatile unsigned char __iomem *dpr_base;
+ unsigned char __iomem *dpr_base;
/* base virtual address of de data port */
- volatile unsigned char __iomem *dp_port_base;
+ unsigned char __iomem *dp_port_base;
/* function pointers */
void (*de_init)(struct lynx_accel *accel);
@@ -128,7 +128,7 @@ struct lynx_cursor {
char __iomem *vstart;
int offset;
/* mmio addr of hw cursor */
- volatile char __iomem *mmio;
+ char __iomem *mmio;
};
struct lynxfb_crtc {
--
2.48.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] staging: sm750fb: Make g_fbmode truly constant
2025-02-18 18:57 [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file Madhur Kumar
@ 2025-02-18 18:57 ` Madhur Kumar
2025-02-18 19:09 ` [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file Dan Carpenter
1 sibling, 0 replies; 3+ messages in thread
From: Madhur Kumar @ 2025-02-18 18:57 UTC (permalink / raw)
To: sudipm.mukherjee, teddy.wang
Cc: gregkh, linux-fbdev, linux-staging, linux-kernel, Madhur Kumar
Signed-off-by: Madhur Kumar <madhurkumar004@gmail.com>
---
drivers/staging/sm750fb/sm750.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index cab879ab58bd..2cce27effc46 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -33,7 +33,7 @@
static int g_hwcursor = 1;
static int g_noaccel;
static int g_nomtrr;
-static const char *g_fbmode[] = {NULL, NULL};
+static const char * const g_fbmode[] = {NULL, NULL};
static const char *g_def_fbmode = "1024x768-32@60";
static char *g_settings;
static int g_dualview;
--
2.48.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file
2025-02-18 18:57 [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file Madhur Kumar
2025-02-18 18:57 ` [PATCH 2/2] staging: sm750fb: Make g_fbmode truly constant Madhur Kumar
@ 2025-02-18 19:09 ` Dan Carpenter
1 sibling, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2025-02-18 19:09 UTC (permalink / raw)
To: Madhur Kumar
Cc: sudipm.mukherjee, teddy.wang, gregkh, linux-fbdev, linux-staging,
linux-kernel
On Wed, Feb 19, 2025 at 12:27:48AM +0530, Madhur Kumar wrote:
> Signed-off-by: Madhur Kumar <madhurkumar004@gmail.com>
> ---
No commit message. No v2. Etc.
regards,
dan carpenter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-02-18 19:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 18:57 [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file Madhur Kumar
2025-02-18 18:57 ` [PATCH 2/2] staging: sm750fb: Make g_fbmode truly constant Madhur Kumar
2025-02-18 19:09 ` [PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).