aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2012-07-16 22:17:10 +0000
committerNicholas Bellinger <[email protected]>2012-07-16 23:42:40 +0000
commitd35212f3ca3bf4fb49d15e37f530c9931e2d2183 (patch)
tree46860cf1a398eb26ae3ec24802392aa43c79dbbb /lib/mpi/mpiutil.c
parenttcm_fc: Fix crash seen with aborts and large reads (diff)
downloadkernel-d35212f3ca3bf4fb49d15e37f530c9931e2d2183.tar.gz
kernel-d35212f3ca3bf4fb49d15e37f530c9931e2d2183.zip
target: Clean up returning errors in PR handling code
- instead of (PTR_ERR(file) < 0) just use IS_ERR(file) - return -EINVAL instead of EINVAL - all other error returns in target_scsi3_emulate_pr_out() use "goto out" -- get rid of the one remaining straight "return." Signed-off-by: Roland Dreier <[email protected]> Cc: <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions