Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89310
b: refs/heads/master
c: 8f22a72
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Apr 17, 2008
1 parent b64177a commit ef443d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4f0eee4d877e3b617b6a22d209d52b3dfca2b2a7
refs/heads/master: 8f22a72bf52e76d6bcd11bf9e695fdde61bd454c
2 changes: 2 additions & 0 deletions trunk/drivers/ide/ide-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,8 @@ void ide_acpi_port_init_devices(ide_hwif_t *hwif)
for (i = 0; i < MAX_DRIVES; i++) {
drive = &hwif->drives[i];

memset(drive->acpidata, 0, sizeof(*drive->acpidata));

if (!drive->present)
continue;

Expand Down

0 comments on commit ef443d9

Please sign in to comment.