回复: Re: [PATCH] fbdev: omap2: fix inconsistent lock returns in omapfb_mmap

From: 曾红玲

Date: Thu Apr 09 2026 - 05:33:59 EST


Yes, that's ok ! Thank you for applying the patch and for
correcting the author name.




主   题:Re: [PATCH] fbdev: omap2: fix inconsistent lock returns in omapfb_mmap
日   期:2026年04月9日16:29
发件人:Helge Deller
收件人:linux-omap,linux-fbdev,dri-devel,Helge Deller
抄送人:linux-kernel,zhongling0719,kernel test robot

On 4/2/26 11:34, zenghongling wrote: > 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@xxxxxxxxx> > Signed-off-by: zenghongling <zenghongling@xxxxxxxxxx> > --- > drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied. PS: I replaced author/email name by "Hongling Zeng" instead of "zenghongling". I assume that's Ok, if not please let me know. Thanks! Helge </zenghongling@xxxxxxxxxx></lkp@xxxxxxxxx>

 

 

 


---