diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 62f7e1ef10c1..be121ffcc1dc 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -561,7 +561,7 @@ static inline u8 probe_for_drive (ide_drive_t *drive) | |||
561 | * Also note that 0 everywhere means "can't do X" | 561 | * Also note that 0 everywhere means "can't do X" |
562 | */ | 562 | */ |
563 | 563 | ||
564 | drive->id = kzalloc(SECTOR_WORDS *4, GFP_KERNEL); | 564 | drive->id = kzalloc(SECTOR_SIZE, GFP_KERNEL); |
565 | drive->id_read = 0; | 565 | drive->id_read = 0; |
566 | if(drive->id == NULL) | 566 | if(drive->id == NULL) |
567 | { | 567 | { |