* [PATCH] ALSA: pci/korg1212: completely remove 'set but not used' warnings
@ 2021-08-04 18:54 Pierre-Louis Bossart
2021-08-05 6:23 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Louis Bossart @ 2021-08-04 18:54 UTC (permalink / raw)
To: alsa-devel; +Cc: tiwai, Pierre-Louis Bossart
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>
---
sound/pci/korg1212/korg1212.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c
index 49ed2bfaf11f..5c9e240ff6a9 100644
--- 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;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: pci/korg1212: completely remove 'set but not used' warnings
2021-08-04 18:54 [PATCH] ALSA: pci/korg1212: completely remove 'set but not used' warnings Pierre-Louis Bossart
@ 2021-08-05 6:23 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-08-05 6:23 UTC (permalink / raw)
To: Pierre-Louis Bossart; +Cc: alsa-devel
On Wed, 04 Aug 2021 20:54:42 +0200,
Pierre-Louis Bossart wrote:
>
> 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>
Thanks, applied.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-05 6:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 18:54 [PATCH] ALSA: pci/korg1212: completely remove 'set but not used' warnings Pierre-Louis Bossart
2021-08-05 6:23 ` Takashi Iwai
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.