Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298270
b: refs/heads/master
c: 3f0bc3b
h: refs/heads/master
v: v3
  • Loading branch information
Martin K. Petersen authored and James Bottomley committed Mar 27, 2012
1 parent 750e8f3 commit 27187ef
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: be1dd78de5686c062bb3103f9e86d444a10ed783
refs/heads/master: 3f0bc3b331a371392bb64c5b211b60ec84d5a444
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/scsi_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ static int inquiry_evpd_b1(unsigned char *arr)
/* Logical block provisioning VPD page (SBC-3) */
static int inquiry_evpd_b2(unsigned char *arr)
{
memset(arr, 0, 0x8);
memset(arr, 0, 0x4);
arr[0] = 0; /* threshold exponent */

if (scsi_debug_lbpu)
Expand All @@ -795,7 +795,7 @@ static int inquiry_evpd_b2(unsigned char *arr)
if (scsi_debug_lbprz)
arr[1] |= 1 << 2;

return 0x8;
return 0x4;
}

#define SDEBUG_LONG_INQ_SZ 96
Expand Down

0 comments on commit 27187ef

Please sign in to comment.