Re: [PATCH] vim2m: use cancel_delayed_work_sync instead of flush_schedule_work

2018-11-22 Thread Hans Verkuil
On 11/07/2018 03:04 PM, Hans Verkuil wrote: > The use of flush_schedule_work() made no sense and caused a syzkaller error. > Replace with the correct cancel_delayed_work_sync(). > > Signed-off-by: Hans Verkuil Mistyped that SoB, this should of course be: Signed-off-by: Hans Verkuil Regards,

[PATCH] vim2m: use cancel_delayed_work_sync instead of flush_schedule_work

2018-11-07 Thread Hans Verkuil
The use of flush_schedule_work() made no sense and caused a syzkaller error. Replace with the correct cancel_delayed_work_sync(). Signed-off-by: Hans Verkuil Reported-by: syzbot+69780d144754b8071...@syzkaller.appspotmail.com --- diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform