ALSA: korg1212: Add __force annotation to cast in user-copy callbacks
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:00:56 +0000 (23:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2018 06:33:08 +0000 (08:33 +0200)
commit0701492c86ac0446a834da35ef4991bcf8adb6c4
tree56c24fbad7282873be59431f3fb88cd46ab9a47b
parent191bb51e72c3b2b1ed1b2bd7ac30dd9f7ccea306
ALSA: korg1212: Add __force annotation to cast in user-copy callbacks

The user-copy callbacks in korg1212 driver contain the explicit cast
from a user pointer to a kernel pointer, but they missed __force
prefix.  It's mandatory for converting between them.

Spotted by sparse, a warning like:
  sound/pci/korg1212/korg1212.c:1329:33: warning: cast removes address space of expression

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