]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: emu10k1: Fix missing __force annotation for user/kernel pointer cast
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:00:57 +0000 (23:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2018 06:33:16 +0000 (08:33 +0200)
commit966b8d409c303b6939e09a82ee147649def1c1a5
tree0272f9ccce8762cfa578d833949ae7f262c5fcce
parent28979fe1b2ed1ee5b274671100a3fe1f15b57775
ALSA: emu10k1: Fix missing __force annotation for user/kernel pointer cast

The cast between user-space and kernel-space needs an explicit __force
prefix, but it's missing in many places in emu10k1 driver code.

Spotted by sparse as a warning like:
  sound/pci/emu10k1/emufx.c:529:33: warning: cast removes address space of expression

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emufx.c