summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorJiacheng Yu <yujiacheng3@huawei.com>2026-05-14 12:19:18 +0300
committerHelge Deller <deller@gmx.de>2026-06-07 19:25:42 +0300
commit84202754fb1727dc3ee87f47104e4162ecc8ba3a (patch)
treefcda4a67b34bcfde7600ad46c0b4d5402465e228 /tools/lib/python/kdoc/parse_data_structs.py
parente840a232a4a017ff61faedf715083fa1785dfde7 (diff)
downloadlinux-84202754fb1727dc3ee87f47104e4162ecc8ba3a.tar.xz
fbcon: Use correct type for vc_resize() return value
The return value of vc_resize() is int, but fbcon_set_disp() stores it in an unsigned long variable. While the !ret check happens to work correctly by coincidence (negative values become large positive values), the types should match. Use int instead. Eliminates the following W=3 warning: drivers/video/fbdev/core/fbcon.c: In function 'fbcon_set_disp': drivers/video/fbdev/core/fbcon.c:1494:14: warning: implicit conversion from 'int' to 'unsigned long' [-Wconversion] Fixes: af0db3c1f898 ("fbdev: Fix vmalloc out-of-bounds write in fast_imageblit") Cc: stable@vger.kernel.org # v6.17+ Signed-off-by: Jiacheng Yu <yujiacheng3@huawei.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions