All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] taging: speakup: remove volatile
@ 2020-05-22  9:16 ` MugilRaj
  0 siblings, 0 replies; 18+ messages in thread
From: MugilRaj @ 2020-05-22  9:16 UTC (permalink / raw)
  Cc: MugilRaj, William Hubbs, Chris Brannon, Kirk Reiser,
	Samuel Thibault, Greg Kroah-Hartman, speakup, devel,
	linux-kernel

fix checkpatch.pl warning, which is Use of volatile is usually wrong: see
Documentation/process/volatile-considered-harmful.rst
Signed-off-by: MugilRaj <dmugil2000@gmail.com>
---
 drivers/staging/speakup/speakup_decext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/speakup_decext.c b/drivers/staging/speakup/speakup_decext.c
index ddbb7e9..22baaeb 100644
--- a/drivers/staging/speakup/speakup_decext.c
+++ b/drivers/staging/speakup/speakup_decext.c
@@ -21,7 +21,7 @@
 #define SYNTH_CLEAR 0x03
 #define PROCSPEECH 0x0b
 
-static volatile unsigned char last_char;
+static unsigned char last_char;
 
 static void read_buff_add(u_char ch)
 {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-05-22 17:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22  9:16 [PATCH] taging: speakup: remove volatile MugilRaj
2020-05-22  9:16 ` MugilRaj
2020-05-22  9:21 ` Samuel Thibault
2020-05-22  9:21   ` Samuel Thibault
2020-05-22  9:37 ` Greg Kroah-Hartman
2020-05-22  9:37   ` Greg Kroah-Hartman
2020-05-22 10:34 ` Dan Carpenter
2020-05-22 10:34   ` Dan Carpenter
2020-05-22 16:36   ` Joe Perches
2020-05-22 16:36     ` Joe Perches
2020-05-22 17:13     ` Samuel Thibault
2020-05-22 17:13       ` Samuel Thibault
2020-05-22 17:22       ` Joe Perches
2020-05-22 17:22         ` Joe Perches
2020-05-22 17:25         ` Samuel Thibault
2020-05-22 17:25           ` Samuel Thibault
2020-05-22 17:50       ` Dan Carpenter
2020-05-22 17:50         ` Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.