Re: Patch "drm/amdgpu: fix the warning about the expression (int)size - len" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> know about it.
> 
> 
> 
> commit c71e1d31c7d6735e32dcfd0043970d9fadb00b82
> Author: Jesse Zhang <jesse.zhang@xxxxxxx>
> 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@xxxxxxx>
>     Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>
>     Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
>     Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux