diff options
| author | Hongling Zeng <zenghongling@kylinos.cn> | 2026-04-02 17:34:03 +0800 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-04-09 10:26:11 +0200 |
| commit | 98cf7df6e0844f7076df1db690c1ede9d69b61ff (patch) | |
| tree | 9f3ef42438e242ba8b63f42bd3414e3bc0e01cd0 /rust/kernel/iommu/git@git.tavy.me:linux.git | |
| parent | 3bea4a0ee8188c2702f0536fbffbc44d3eb9e619 (diff) | |
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>
Diffstat (limited to 'rust/kernel/iommu/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
