summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRob Clark <robin.clark@oss.qualcomm.com>2026-07-29 08:55:54 -0700
committerRob Clark <robin.clark@oss.qualcomm.com>2026-07-29 11:56:03 -0700
commit7aeada642ebfd52ddb87aaf1f0324a7fcf636610 (patch)
tree35f3027524b95ff351a830b007b26d09c91c018e /scripts/const_structs.checkpatch
parent1b8029394fb77adde9c494a3acd40b0b39793b55 (diff)
downloadlinux-7aeada642ebfd52ddb87aaf1f0324a7fcf636610.tar.gz
linux-7aeada642ebfd52ddb87aaf1f0324a7fcf636610.zip
drm/msm: Fixup invalid overflow check
On overflow struct_size() would return SIZE_MAX. But kzalloc() (and friends) check this already, so we can just remove the check. On the other hand, we should be using the overflow helpers to calculate the cmd array size. Reported-by: Sashiko <sashiko-bot@kernel.org> Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/743111/ Message-ID: <20260729155609.20190-18-robin.clark@oss.qualcomm.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions