linux/drivers/video/fbdev/mb862xx
Qianfeng Rong 4d23d9f7fa fbdev: mb862xxfb: Use int type to store negative error codes
Change the 'ret' variable in of_platform_mb862xx_probe() from unsigned long
to int, as it needs to store either negative error codes or zero.

Storing the negative error codes in unsigned type, doesn't cause an issue
at runtime but can be confusing. Additionally, assigning negative error
codes to unsigned type may trigger a GCC warning when the -Wsign-conversion
flag is enabled.

No effect on runtime.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2025-09-30 23:21:34 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mb862xx-i2c.c fbdev/mb862xx: Do not include <linux/export.h> 2025-06-16 09:08:03 +02:00
mb862xx_reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mb862xxfb.h video: fbdev: mb862xx: modify the static fb_ops directly 2019-12-05 10:57:22 +02:00
mb862xxfb_accel.c fbdev: Explicitly include correct DT includes 2023-07-20 07:56:30 +02:00
mb862xxfb_accel.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mb862xxfbdrv.c fbdev: mb862xxfb: Use int type to store negative error codes 2025-09-30 23:21:34 +02:00