]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: emu8000: Fix the cast to __user pointer
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Feb 2020 16:31:52 +0000 (17:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 07:26:38 +0000 (08:26 +0100)
commit80c5aa3e2033ac6dd4b23e70539fd0b289b815f1
tree41026ddd3094e44b6b62098076ce6c8406ddc3e4
parentf317d9538d85c7da4688b80b402272fd267447c0
ALSA: emu8000: Fix the cast to __user pointer

Fixes the sparse warnings.  The cast to __user pointer needs __force:
  sound/isa/sb/emu8000_pcm.c:528:9: warning: cast removes address space '<asn:1>' of expression

No functional changes, just sparse warning fixes.

Link: https://lore.kernel.org/r/20200206163152.6073-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sb/emu8000_pcm.c