Re: [PATCH] fix NULL pointer deference crash

2021-04-01 Thread Hassan Shahbazi
On Wed, Mar 31, 2021 at 07:32:06PM +0200, Greg KH wrote: > On Wed, Mar 31, 2021 at 07:34:29PM +0300, Hassan Shahbazi wrote: > > The patch has fixed a NULL pointer deference crash in hiding the cursor. It > > is verified by syzbot patch tester. > > > > Re

[PATCH] fix NULL pointer deference crash

2021-03-31 Thread Hassan Shahbazi
The patch has fixed a NULL pointer deference crash in hiding the cursor. It is verified by syzbot patch tester. Reported by: syzbot https://syzkaller.appspot.com/bug?id=defb47bf56e1c14d5687280c7bb91ce7b608b94b Signed-off-by: Hassan Shahbazi --- drivers/video/fbdev/core/fbcon.c | 5 +++-- 1

Re: [PATCH] drivers: tty: vt: vt.c: fix NULL dereference crash

2021-03-13 Thread Hassan Shahbazi
On Fri, Mar 12, 2021 at 09:33:37AM +0100, Greg KH wrote: > On Sun, Mar 07, 2021 at 12:56:43PM +0200, Hassan Shahbazi wrote: > > Fix a NULL deference crash on hiding the cursor. > > > > Reported by: syzbot > > https://syzkaller.appspot.com/bug?id=defb47bf56e1c

[PATCH] drivers: tty: vt: vt.c: fix NULL dereference crash

2021-03-07 Thread Hassan Shahbazi
Fix a NULL deference crash on hiding the cursor. Reported by: syzbot https://syzkaller.appspot.com/bug?id=defb47bf56e1c14d5687280c7bb91ce7b608b94b Signed-off-by: Hassan Shahbazi --- drivers/tty/vt/vt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/tty/vt/vt.c b

[PATCH] drivers: staging: wimax: fix code style issues

2021-02-22 Thread Hassan Shahbazi
Fixes 'WARNING: Missing a blank line after declarations' generated by checkpatch.pl script. Signed-off-by: Hassan Shahbazi --- drivers/staging/wimax/stack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/wimax/stack.c b/drivers/staging/wimax/stack.c index ace24a6dfd2d

[PATCH] lib: genalloc: fix warning generated by checkpatch

2021-02-21 Thread Hassan Shahbazi
Add missing blank line after declarations. Signed-off-by: Hassan Shahbazi --- lib/genalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/genalloc.c b/lib/genalloc.c index dab97bb69df6..3e901fd93b00 100644 --- a/lib/genalloc.c +++ b/lib/genalloc.c @@ -757,6 +757,7 @@ unsigned long

[PATCH] lib: genalloc: fix warning generated by checkpatch

2021-02-18 Thread Hassan Shahbazi
Add missing blank line after declarations. Signed-off-by: Hassan Shahbazi --- lib/genalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/genalloc.c b/lib/genalloc.c index dab97bb69df6..3e901fd93b00 100644 --- a/lib/genalloc.c +++ b/lib/genalloc.c @@ -757,6 +757,7 @@ unsigned long

Re: [PATCH] staging: fbtft: fb_watterott: fix usleep_range is preferred over udelay

2020-11-01 Thread Hassan Shahbazi
On Sun, Nov 01, 2020 at 07:39:48AM +0100, Greg KH wrote: > On Sun, Nov 01, 2020 at 02:20:10AM +0200, Hassan Shahbazi wrote: > > Fix the checkpath.pl issue on fb_watterott.c. write_vmem and > > write_vmem_8bit functions are within non-atomic context and can > > safely use

[PATCH] staging: fbtft: fb_watterott: fix usleep_range is preferred over udelay

2020-10-31 Thread Hassan Shahbazi
Fix the checkpath.pl issue on fb_watterott.c. write_vmem and write_vmem_8bit functions are within non-atomic context and can safely use usleep_range. see Documentation/timers/timers-howto.txt Signed-off-by: Hassan Shahbazi --- drivers/staging/fbtft/fb_watterott.c | 4 ++-- 1 file changed, 2