ALSA: pci: Missing a blank line after declarations
PATCH 1/1 ALSA: pci: Missing a blank line after declarations
Warning found by checkpatch.pl script. Adding blank line after declarations.
Signed-off-by Edson Juliano Drosdeck <[email protected]>
--- sound/pci/lola/lola_proc.c | 2 ++ 1 file changed, 2 insertions(+)
sound/pci/lola/lola_proc.c +2 -0
@@ -137,6 +137,7 @@ static void lola_proc_codec_rw_write(struct snd_info_entry *entry,struct lola *chip = entry->private_data;char line[64 ];unsigned int id, verb, data, extdata; +while (!snd_info_get_line (buffer, line,sizeof (line))) {if (sscanf (line,"%u %u %u %u" , &id, &verb, &data, &extdata) !=4 )continue ;
@@ -150,6 +151,7 @@ static void lola_proc_codec_rw_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) {struct lola *chip = entry->private_data; +snd_iprintf (buffer,"0x%x 0x%x\n" , chip->debug_res, chip->debug_res_ex); }
Signature · 1 line
2.39.2
Quoted 4 lines · Edson Juliano Drosdeck
Warning found by checkpatch.pl script. Adding blank line after declarations.
Signed-off-by Edson Juliano Drosdeck <[email protected]>
Thanks for the patch. But in general we take such a white-space cleanup patch only when it's associated with another real code changes.
Takashi
Quoted 27 lines
--- sound/pci/lola/lola_proc.c | 2 ++ 1 file changed, 2 insertions(+)sound/pci/lola/lola_proc.c +2
-0@@ -137,6 +137,7 @@ static void lola_proc_codec_rw_write(struct snd_info_entry *entry,struct lola *chip = entry->private_data;char line[64 ];unsigned int id, verb, data, extdata; +while (!snd_info_get_line (buffer, line,sizeof (line))) {if (sscanf (line,"%u %u %u %u" , &id, &verb, &data, &extdata) !=4 )continue ;@@ -150,6 +151,7 @@ static void lola_proc_codec_rw_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) {struct lola *chip = entry->private_data; +snd_iprintf (buffer,"0x%x 0x%x\n" , chip->debug_res, chip->debug_res_ex); }Signature · 1 line
2.39.2