summaryrefslogtreecommitdiff
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-01-09 07:10:59 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-18 00:43:20 (GMT)
commit8441bf5e063e03e5d307ffb32fd5f77e81c0d397 (patch)
tree0171af80aa59c11eebf66ff43cbec41fac84aae7 /drivers/md/raid1.c
parent2fbedf67ed3ad2ee08b96cbc3c56c7d81db14de9 (diff)
downloadlinux-fsl-qoriq-8441bf5e063e03e5d307ffb32fd5f77e81c0d397.tar.xz
staging: sb105x: move dereference under IS_ERR() check
Avoid dereverencing the ERR_PTR() by shifting the dereference down a couple lines. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions