Re: [PATCH -next] mtd: fix missing unlock on error in mtdchar_compat_ioctl()

2020-07-25 Thread Richard Weinberger
gt; , "Hulk Robot" > Gesendet: Samstag, 25. Juli 2020 08:37:01 > Betreff: Re: [PATCH -next] mtd: fix missing unlock on error in > mtdchar_compat_ioctl() > I think Richard already resolved this in his tree, but I could be wrong. Yes, fixed in git://git.kernel.org/pub/scm/

Re: [PATCH -next] mtd: fix missing unlock on error in mtdchar_compat_ioctl()

2020-07-24 Thread Greg Kroah-Hartman
On Sat, Jul 25, 2020 at 06:34:16AM +, Wei Yongjun wrote: > Add the missing unlock before return from function mtdchar_compat_ioctl() > in the error handling case. > > Fixes: 210bec567936 ("mtd: properly check all write ioctls for permissions") > Reported-by: Hulk Robot > Signed-off-by: Wei Yo

[PATCH -next] mtd: fix missing unlock on error in mtdchar_compat_ioctl()

2020-07-24 Thread Wei Yongjun
Add the missing unlock before return from function mtdchar_compat_ioctl() in the error handling case. Fixes: 210bec567936 ("mtd: properly check all write ioctls for permissions") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- drivers/mtd/mtdchar.c | 6 -- 1 file changed, 4 insertion