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

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