aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2023-10-13 23:50:23 +0300
committerHelge Deller <deller@gmx.de>2023-10-16 23:22:53 +0200
commit7f33df94cf0156f64eee9509bd9b4a178990f613 (patch)
treeed508f9b30196338ceac90a20961a4ae8428d6ca /tools/net/ynl/generated/devlink-user.c
parent1022e7e2f40574c74ed32c3811b03d26b0b81daf (diff)
fbdev: core: cfbcopyarea: fix sloppy typing
In cfb_copyarea(), the local variable bits_per_line is needlessly typed as *unsigned long* -- which is a 32-bit type on the 32-bit arches and a 64-bit type on the 64-bit arches; that variable's value is derived from the __u32 typed fb_fix_screeninfo::line_length field (multiplied by 8u) and a 32-bit *unsigned int* type should still be enough to store the # of bits per line. Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool. Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions