diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-09-02 16:21:30 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-09-03 09:27:44 +0200 |
commit | 93fcef86caafba893f2e13782f4c58b386eab311 (patch) | |
tree | 837abd310cac759336f14a29ca31de388b792ae3 /sound/core/rawmidi.c | |
parent | a971b42cbf8c0dd553ac0ca7fe82f4b8e9cad088 (diff) | |
download | linux-93fcef86caafba893f2e13782f4c58b386eab311.tar.gz linux-93fcef86caafba893f2e13782f4c58b386eab311.tar.bz2 linux-93fcef86caafba893f2e13782f4c58b386eab311.zip |
ALSA: rawmidi: (cosmetic) align function parameters
fix cppcheck:
sound/core/rawmidi.c:1711:49: style:inconclusive: Function
'snd_rawmidi_free' argument 1 names different: declaration 'rawmidi'
definition 'rmidi'. [funcArgNamesDifferent]
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200902212133.30964-16-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/rawmidi.c')
-rw-r--r-- | sound/core/rawmidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index 2a688b711a9a..c78720a3299c 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c @@ -35,7 +35,7 @@ module_param_array(amidi_map, int, NULL, 0444); MODULE_PARM_DESC(amidi_map, "Raw MIDI device number assigned to 2nd OSS device."); #endif /* CONFIG_SND_OSSEMUL */ -static int snd_rawmidi_free(struct snd_rawmidi *rawmidi); +static int snd_rawmidi_free(struct snd_rawmidi *rmidi); static int snd_rawmidi_dev_free(struct snd_device *device); static int snd_rawmidi_dev_register(struct snd_device *device); static int snd_rawmidi_dev_disconnect(struct snd_device *device); |