Skip to content
Commit 0701492c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 191bb51e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment