Re: [PATCH] vduse: Fix NULL pointer dereference on sysfs access

2022-04-25 Thread Greg KH
On Tue, Apr 26, 2022 at 02:01:03PM +0800, Xie Yongji wrote: > The control device has no drvdata. So we will get a NULL > NULL pointer dereference when accessing control device's > msg_timeout via sysfs: > > [ 132.841881][ T3644] BUG: kernel NULL pointer dereference, address: > 00f8 >

Re: [PATCH] vduse: Fix NULL pointer dereference on sysfs access

2022-04-25 Thread Jason Wang
On Tue, Apr 26, 2022 at 2:01 PM Xie Yongji wrote: > > The control device has no drvdata. So we will get a NULL > NULL pointer dereference when accessing control device's > msg_timeout via sysfs: > > [ 132.841881][ T3644] BUG: kernel NULL pointer dereference, address: > 00f8 > [ 132.85