* Re: Patch "drm/amdgpu: fix the warning about the expression (int)size - len" has been added to the 6.1-stable tree
[not found] <20240705193405.3523811-1-sashal@kernel.org>
@ 2024-07-08 9:21 ` Greg KH
0 siblings, 0 replies; only message in thread
From: Greg KH @ 2024-07-08 9:21 UTC (permalink / raw)
To: stable
Cc: stable-commits, jesse.zhang, Alex Deucher, Christian König,
Pan, Xinhui, David Airlie, Daniel Vetter
On Fri, Jul 05, 2024 at 03:34:04PM -0400, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
>
> drm/amdgpu: fix the warning about the expression (int)size - len
>
> to the 6.1-stable tree which can be found at:
> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
>
> The filename of the patch is:
> drm-amdgpu-fix-the-warning-about-the-expression-int-.patch
> and it can be found in the queue-6.1 subdirectory.
>
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@vger.kernel.org> know about it.
>
>
>
> commit c71e1d31c7d6735e32dcfd0043970d9fadb00b82
> Author: Jesse Zhang <jesse.zhang@amd.com>
> Date: Thu Apr 25 15:16:40 2024 +0800
>
> drm/amdgpu: fix the warning about the expression (int)size - len
>
> [ Upstream commit ea686fef5489ef7a2450a9fdbcc732b837fb46a8 ]
>
> Converting size from size_t to int may overflow.
> v2: keep reverse xmas tree order (Christian)
>
> Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
Nope, this breaks the build on 6.1, which is kind of worse than fixing a
build warning :(
I'll go drop this now.
thanks,
greg k-h
^ permalink raw reply [flat|nested] only message in thread