Re: [PATCH] Fix null pointer dereference caused by sysfs_notify on binary attribute

2013-06-06 Thread Nick Dyer
Greg KH wrote: > On Thu, Jun 06, 2013 at 10:45:20AM +0100, Nick Dyer wrote: >> It would be nice to have this work as expected but for now this is a minimal >> fix to prevent the kernel panic. > > Is anyone calling sysfs_notify on a binary attribute today? Or can this > go into 3.11? Nope. I thin

Re: [PATCH] Fix null pointer dereference caused by sysfs_notify on binary attribute

2013-06-06 Thread Greg KH
On Thu, Jun 06, 2013 at 10:45:20AM +0100, Nick Dyer wrote: > It would be nice to have this work as expected but for now this is a minimal > fix to prevent the kernel panic. Is anyone calling sysfs_notify on a binary attribute today? Or can this go into 3.11? thanks, greg k-h -- To unsubscribe f

[PATCH] Fix null pointer dereference caused by sysfs_notify on binary attribute

2013-06-06 Thread Nick Dyer
It would be nice to have this work as expected but for now this is a minimal fix to prevent the kernel panic. Signed-off-by: Nick Dyer --- fs/sysfs/file.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 602f56d..976819b 100