aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2009-07-01 11:14:04 +1000
committerNeilBrown <[email protected]>2009-07-01 11:14:04 +1000
commitb8d966efd9a46a9a35beac50cbff6e30565125ef (patch)
treed1c59125e8ee9677e8594bdc4ab223e692a87e50 /drivers/mtd/lpddr/lpddr_cmds.c
parent8f6c2e4b325a8e9f8f47febb2fd0ed4fae7d45a9 (diff)
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: [email protected] Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions