commit | 151a670186a0f8441798f90c8701647adb7a1589 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Oct 10 22:39:28 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Oct 10 22:39:28 2008 +0200 |
tree | 6932543816b57d841515c48b536c38596bdad139 | |
parent | 8185d5aa93e0a5c111adc4952a5b87193a68ae5b [diff] [blame] |
ide: remove SECTOR_WORDS define Just use SECTOR_SIZE instead. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 62f7e1e..be121ff 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c
@@ -561,7 +561,7 @@ * Also note that 0 everywhere means "can't do X" */ - drive->id = kzalloc(SECTOR_WORDS *4, GFP_KERNEL); + drive->id = kzalloc(SECTOR_SIZE, GFP_KERNEL); drive->id_read = 0; if(drive->id == NULL) {