diff options
author | Linus Walleij <[email protected]> | 2016-04-28 14:02:41 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2016-05-04 10:53:51 +0100 |
commit | 53dfc3b9e6c54d077f578f9016b6c8ab5f891e10 (patch) | |
tree | 1b46775e0d7480f030ab86ce9b2d9a4a19879c11 /net/unix/sysctl_net_unix.c | |
parent | 04bf02175fe9577875fb8285cc2d08169fef613a (diff) |
iio: light: bh1780: return after write
When writing a value using direct reg access from debugfs
we need to return and not fall through to reading the
value, lest we'll dereference a NULL pointer.
Cc: Dan Carpenter <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions