diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-26 00:00:54 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-26 09:32:13 +0300 |
commit | 95a48b7d4459948b6bacf809809cf01a7dc06d1d (patch) | |
tree | 1825a1e77dced4a132ac10c442d397c7d9522650 /sound/core/oss | |
parent | 00966dcdf0e324e10ab79d505732c339f72417d9 (diff) | |
download | linux-95a48b7d4459948b6bacf809809cf01a7dc06d1d.tar.xz |
ALSA: pcm: Add __force to cast in snd_pcm_lib_read/write()
The snd_pcm_lib_read() and snd_pcm_lib_write() inline functions have
the explicit cast from a user pointer to a kernel pointer, but they
lacks of __force prefix.
This fixes sparse warnings like:
./include/sound/pcm.h:1093:47: warning: cast removes address space of expression
Fixes: 68541213720d ("ALSA: pcm: Direct in-kernel read/write support")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/oss')
0 files changed, 0 insertions, 0 deletions