aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2024-12-16 09:33:41 +0000
committerTakashi Iwai <[email protected]>2024-12-20 08:49:15 +0000
commit6018f2fe1089b46c6c9eb136338eca7b16a92331 (patch)
tree92f846629d00fdd5cbb9a4ff047b04f1a3d7a627 /net/unix/af_unix.c
parentALSA: compress_offload: import DMA_BUF namespace (diff)
downloadkernel-6018f2fe1089b46c6c9eb136338eca7b16a92331.tar.gz
kernel-6018f2fe1089b46c6c9eb136338eca7b16a92331.zip
ALSA: compress_offload: avoid 64-bit get_user()
On some architectures, get_user() cannot read a 64-bit user variable: arm-linux-gnueabi-ld: sound/core/compress_offload.o: in function `snd_compr_ioctl': compress_offload.c:(.text.snd_compr_ioctl+0x538): undefined reference to `__get_user_bad' Use an equivalent copy_from_user() instead. Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Shengjiu Wang <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions