[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z2BVOUAPIr0+q0Fu@vaman>
Date: Mon, 16 Dec 2024 21:58:41 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Amadeusz Sławiński <amadeuszx.slawinski@...ux.intel.com>,
Arnd Bergmann <arnd@...db.de>, Yu Jiaoliang <yujiaoliang@...o.com>,
Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ALSA: compress_offload: avoid 64-bit get_user()
On 16-12-24, 10:33, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> 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.
Acked-by: Vinod Koul <vkoul@...nel.org>
--
~Vinod
Powered by blists - more mailing lists