Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10393
b: refs/heads/master
c: 54dac83
h: refs/heads/master
i:
  10391: 9c0ff19
v: v3
  • Loading branch information
Jeff Raubitschek authored and Jeff Garzik committed Oct 4, 2005
1 parent a974b78 commit 3d335b7
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2ee73cc2d507df7b28050fba5d08bd33dd34848c
refs/heads/master: 54dac83c426a1a03bd139c5ac7e938890bd2693e
6 changes: 4 additions & 2 deletions trunk/drivers/scsi/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg)
if (args[3]) {
argsize = SECTOR_SIZE * args[3];
argbuf = kmalloc(argsize, GFP_KERNEL);
if (argbuf == NULL)
return -ENOMEM;
if (argbuf == NULL) {
rc = -ENOMEM;
goto error;
}

scsi_cmd[1] = (4 << 1); /* PIO Data-in */
scsi_cmd[2] = 0x0e; /* no off.line or cc, read from dev,
Expand Down

0 comments on commit 3d335b7

Please sign in to comment.