linux/drivers/video/fbdev/omap2/omapfb
Hongling Zeng 98cf7df6e0 fbdev: omap2: fix inconsistent lock returns in omapfb_mmap
Fix the warning about inconsistent returns for '&rg->lock' in
omapfb_mmap() function. The warning arises because the error path
uses 'ofbi->region' while the normal path uses 'rg'.

smatch warnings:
drivers/video/fbdev/omap2/omapfb/omapfb-main.c:1126 omapfb_mmap()
warn: inconsistent returns '&rg->lock'.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
2026-04-09 10:26:11 +02:00
..
displays Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
dss Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
Kconfig fbdev: omapfb: Make FB_DEVICE dependency optional 2026-02-14 11:09:46 +01:00
Makefile omapfb: rename omap2 module to omap2fb.ko 2018-07-24 19:11:27 +02:00
omapfb-ioctl.c fbdev/omap2: Do not include <linux/export.h> 2025-06-16 09:07:47 +02:00
omapfb-main.c fbdev: omap2: fix inconsistent lock returns in omapfb_mmap 2026-04-09 10:26:11 +02:00
omapfb-sysfs.c fbdev: omapfb: Make FB_DEVICE dependency optional 2026-02-14 11:09:46 +01:00
omapfb.h fbdev: omapfb: avoid -Wempty-body warning 2021-03-22 15:02:14 +01:00
vrfb.c fbdev/omap2: Include <linux/export.h> 2025-06-16 09:07:15 +02:00