projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d0b5e
)
ALSA: ac97: (cosmetic) align argument names
author
Pierre-Louis Bossart
<pierre-louis.bossart@linux.intel.com>
Wed, 2 Sep 2020 21:21:28 +0000
(16:21 -0500)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 3 Sep 2020 07:27:27 +0000
(09:27 +0200)
Fix cppcheck warning:
sound/ac97/bus.c:133:60: style:inconclusive: Function
'snd_ac97_bus_scan_one' argument 1 names different: declaration 'ac97'
definition 'adrv'. [funcArgNamesDifferent]
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link:
https://lore.kernel.org/r/20200902212133.30964-14-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ac97/ac97_core.h
patch
|
blob
|
history
diff --git
a/sound/ac97/ac97_core.h
b/sound/ac97/ac97_core.h
index
0c5956e
..
5a9677c
100644
(file)
--- a/
sound/ac97/ac97_core.h
+++ b/
sound/ac97/ac97_core.h
@@
-3,7
+3,7
@@
* Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
*/
-unsigned int snd_ac97_bus_scan_one(struct ac97_controller *a
c97
,
+unsigned int snd_ac97_bus_scan_one(struct ac97_controller *a
drv
,
unsigned int codec_num);
static inline bool ac97_ids_match(unsigned int id1, unsigned int id2,