Skip to contentSkip to conversation

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

DISCUSSION Greg KH 1 participant 1 message Jul 8, 2024 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author
#1 lore raw
Quoted 24 lines · Sasha Levin

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 <[email protected]> know about it.

commit c71e1d31c7d6735e32dcfd0043970d9fadb00b82

Author: Jesse Zhang <[email protected]>
Date:   Thu Apr 25 15:16:40 2024 +0800

drm/amdgpu: fix the warning about the expression (int)size - len

[ Upstream commit ea686fef5489ef7a2450a9fdbcc732b837fb46a8 ]

Quoted 7 lines

Converting size from size_t to int may overflow.
v2: keep reverse xmas tree order (Christian)

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