diff options
author | 2020-08-03 16:39:58 +0200 | |
---|---|---|
committer | 2020-08-11 14:21:49 +0200 | |
commit | 85cb905d3c5ff6107f4948314731c1b55b689cfc (patch) | |
tree | 529ced751eeac91fae6e89244d88786e64c1f3bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control (diff) | |
download | wireguard-linux-85cb905d3c5ff6107f4948314731c1b55b689cfc.tar.xz wireguard-linux-85cb905d3c5ff6107f4948314731c1b55b689cfc.zip |
ALSA: echoaduio: Drop superfluous volatile modifier
The dsp_registers field of struct echoaduio has the volatile modifier,
but it's basically superfluous; the field is accessed only for the
base pointer of readl() and writel(), hence marking with __iomem alone
should suffice. OTOH, having the volatile prefix causes a compile
warning like:
sound/pci/echoaudio/echoaudio.c:1878:14: warning: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
So it's better to drop this superfluous modifier.
Link: https://lore.kernel.org/r/20200803143958.24324-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions