diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-09 07:10:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-18 00:43:20 (GMT) |
commit | 8441bf5e063e03e5d307ffb32fd5f77e81c0d397 (patch) | |
tree | 0171af80aa59c11eebf66ff43cbec41fac84aae7 /drivers/md/raid1.c | |
parent | 2fbedf67ed3ad2ee08b96cbc3c56c7d81db14de9 (diff) | |
download | linux-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