diff options
author | NeilBrown <neilb@suse.de> | 2009-07-01 03:14:04 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-07-01 03:14:04 +0200 |
commit | b8d966efd9a46a9a35beac50cbff6e30565125ef (patch) | |
tree | d1c59125e8ee9677e8594bdc4ab223e692a87e50 /drivers/serial/sunzilog.h | |
parent | md: Use new topology calls to indicate alignment and I/O sizes (diff) | |
download | linux-b8d966efd9a46a9a35beac50cbff6e30565125ef.tar.xz linux-b8d966efd9a46a9a35beac50cbff6e30565125ef.zip |
md: avoid dereferencing NULL pointer when accessing suspend_* sysfs attributes.
If we try to modify one of the md/ sysfs files
suspend_lo or suspend_hi
when the array is not active, we dereference a NULL.
Protect against that.
Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/serial/sunzilog.h')
0 files changed, 0 insertions, 0 deletions