diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-08-07 16:55:14 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-08 12:04:18 +0200 |
commit | 663819fb7d7e21f45431db1a2c0180bf2388ed2f (patch) | |
tree | 80a67b67614e7abdddba30d457114b8eec00bc37 /sound/isa | |
parent | ALSA: usb-audio: WARN_ON when alts is passed as NULL (diff) | |
download | linux-663819fb7d7e21f45431db1a2c0180bf2388ed2f.tar.xz linux-663819fb7d7e21f45431db1a2c0180bf2388ed2f.zip |
ALSA: don't push static constants on stack for %*ph
There is no need to pass constants via stack. The width may be explicitly
specified in the format.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/gus/interwave.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/isa/gus/interwave.c b/sound/isa/gus/interwave.c index 9942691cc0ca..afef0d738078 100644 --- a/sound/isa/gus/interwave.c +++ b/sound/isa/gus/interwave.c @@ -443,8 +443,7 @@ static void snd_interwave_detect_memory(struct snd_gus_card *gus) for (i = 0; i < 8; ++i) iwave[i] = snd_gf1_peek(gus, bank_pos + i); #ifdef CONFIG_SND_DEBUG_ROM - printk(KERN_DEBUG "ROM at 0x%06x = %*phC\n", bank_pos, - 8, iwave); + printk(KERN_DEBUG "ROM at 0x%06x = %8phC\n", bank_pos, iwave); #endif if (strncmp(iwave, "INTRWAVE", 8)) continue; /* first check */ |