diff options
author | Hans-Frieder Vogt <[email protected]> | 2013-10-06 21:13:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-10-07 00:12:14 -0700 |
commit | 2962aecef2878e2192ac9676700469678507c24d (patch) | |
tree | 93070b11c0b9d5a3321478beb1b8645f4d12df24 /include/linux/fpga/fpga-mgr.h | |
parent | 15c03dd4859ab16f9212238f29dd315654aa94f6 (diff) |
w1 - fix fops in w1_bus_notify
Introduce a check to make sure that fops are only called if they have
been defined by the slave module.
Without this check modules like w1_smem cause a NULL pointer dereference
bug.
Signed-off by: Hans-Frieder Vogt <[email protected]>
Acked-by: Evgeniy Polyakov <[email protected]>
Cc: stable <[email protected]> # 3.11+
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions