OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84ba10
)
ALSA: pci/korg1212: completely remove 'set but not used' warnings
author
Pierre-Louis Bossart
<pierre-louis.bossart@linux.intel.com>
Wed, 4 Aug 2021 18:54:42 +0000
(13:54 -0500)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 5 Aug 2021 06:23:38 +0000
(08:23 +0200)
Commit
6cdc01ebdfb0
("ALSA: pci/korg1212: remove 'set but not used'
warnings") missed one __maybe_unused, add to enable make W=1 sound/
compilation with x86_64 allmodconfig
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link:
https://lore.kernel.org/r/20210804185442.274057-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/korg1212/korg1212.c
patch
|
blob
|
history
diff --git
a/sound/pci/korg1212/korg1212.c
b/sound/pci/korg1212/korg1212.c
index
49ed2bf
..
5c9e240
100644
(file)
--- a/
sound/pci/korg1212/korg1212.c
+++ b/
sound/pci/korg1212/korg1212.c
@@
-2094,7
+2094,7
@@
static int snd_korg1212_create(struct snd_card *card, struct pci_dev *pci)
{
int err, rc;
unsigned int i;
- unsigned iomem_size;
+
__maybe_unused
unsigned iomem_size;
__maybe_unused unsigned ioport_size;
__maybe_unused unsigned iomem2_size;
struct snd_korg1212 *korg1212 = card->private_data;