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)
commit63623646a06358833766016d8c1fe14d6576b3d0
tree0272f9ccce8762cfa578d833949ae7f262c5fcce
parent0701492c86ac0446a834da35ef4991bcf8adb6c4
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