Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195316
b: refs/heads/master
c: 0df4d8e
h: refs/heads/master
v: v3
  • Loading branch information
Ian Munsie authored and Greg Kroah-Hartman committed May 20, 2010
1 parent 9b58940 commit 9ef0e53
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fa4dc36482a5236c92c589cdbc0a42ff5c945b6b
refs/heads/master: 0df4d8ef77f7e1251763d429f5ddbf5373961714
4 changes: 2 additions & 2 deletions trunk/drivers/usb/storage/isd200.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,13 +490,13 @@ static int isd200_action( struct us_data *us, int action,
void* pointer, int value )
{
union ata_cdb ata;
struct scsi_device srb_dev;
/* static to prevent this large struct being placed on the valuable stack */
static struct scsi_device srb_dev;
struct isd200_info *info = (struct isd200_info *)us->extra;
struct scsi_cmnd *srb = &info->srb;
int status;

memset(&ata, 0, sizeof(ata));
memset(&srb_dev, 0, sizeof(srb_dev));
srb->cmnd = info->cmnd;
srb->device = &srb_dev;
++srb->serial_number;
Expand Down

0 comments on commit 9ef0e53

Please sign in to comment.