Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188317
b: refs/heads/master
c: bb2d3de
h: refs/heads/master
i:
  188315: c435a5f
v: v3
  • Loading branch information
Martin K. Petersen authored and James Bottomley committed Mar 3, 2010
1 parent 6b98d27 commit f026ae4
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: 74315ad00b8ed41e9f97fe322942fa9883517ed1
refs/heads/master: bb2d3de1885cd69a5fc92af99c4e0c05eb5fc122
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,7 @@ static void sd_read_block_limits(struct scsi_disk *sdkp)
{
struct request_queue *q = sdkp->disk->queue;
unsigned int sector_sz = sdkp->device->sector_size;
const int vpd_len = 32;
const int vpd_len = 64;
unsigned char *buffer = kmalloc(vpd_len, GFP_KERNEL);

if (!buffer ||
Expand Down Expand Up @@ -1998,7 +1998,7 @@ static void sd_read_block_characteristics(struct scsi_disk *sdkp)
{
unsigned char *buffer;
u16 rot;
const int vpd_len = 32;
const int vpd_len = 64;

buffer = kmalloc(vpd_len, GFP_KERNEL);

Expand Down

0 comments on commit f026ae4

Please sign in to comment.