Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35052
b: refs/heads/master
c: 2d2f8d5
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and James Bottomley committed Sep 23, 2006
1 parent 8acb092 commit e666441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fcda4224529c4e550c917668d5e96c1d3e7039b
refs/heads/master: 2d2f8d59b14bec6c745e219a350ac51d9e00673f
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/megaraid.c
Original file line number Diff line number Diff line change
Expand Up @@ -3656,8 +3656,9 @@ megadev_ioctl(struct inode *inode, struct file *filep, unsigned int cmd,
* Send the request sense data also, irrespective of
* whether the user has asked for it or not.
*/
copy_to_user(upthru->reqsensearea,
pthru->reqsensearea, 14);
if (copy_to_user(upthru->reqsensearea,
pthru->reqsensearea, 14))
rval = -EFAULT;

freemem_and_return:
if( pthru->dataxferlen ) {
Expand Down

0 comments on commit e666441

Please sign in to comment.