Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261714
b: refs/heads/master
c: b5b5154
h: refs/heads/master
v: v3
  • Loading branch information
Dan Rosenberg authored and James Bottomley committed Jul 27, 2011
1 parent 4e764a0 commit 562dfbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5911e963d3718e306bcac387b83e259aa4228896
refs/heads/master: b5b515445f4f5a905c5dd27e6e682868ccd6c09d
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/pmcraid.c
Original file line number Diff line number Diff line change
Expand Up @@ -3871,6 +3871,9 @@ static long pmcraid_ioctl_passthrough(
pmcraid_err("couldn't build passthrough ioadls\n");
goto out_free_buffer;
}
} else if (request_size < 0) {
rc = -EINVAL;
goto out_free_buffer;
}

/* If data is being written into the device, copy the data from user
Expand Down

0 comments on commit 562dfbc

Please sign in to comment.