diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-02-07 12:19:42 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-07 12:19:42 -0500 |
commit | 1e8f34f7d88c969a06229a786241839d49dd63e3 (patch) | |
tree | a21833ba9394879cf800e356abfa8618b3b9e10d /drivers/ide/ide-acpi.c | |
parent | e3a59b4d9378522479609042836ae930305a67fe (diff) |
ide-acpi support warning fix
drivers/ide/ide-acpi.c: In function 'ide_acpi_get_timing':
drivers/ide/ide-acpi.c:537: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-acpi.c')
-rw-r--r-- | drivers/ide/ide-acpi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c index 1eb734951dc9..17aea65d7dd2 100644 --- a/drivers/ide/ide-acpi.c +++ b/drivers/ide/ide-acpi.c | |||
@@ -532,9 +532,10 @@ void ide_acpi_get_timing(ide_hwif_t *hwif) | |||
532 | out_obj->buffer.length != sizeof(struct GTM_buffer)) { | 532 | out_obj->buffer.length != sizeof(struct GTM_buffer)) { |
533 | kfree(output.pointer); | 533 | kfree(output.pointer); |
534 | printk(KERN_ERR | 534 | printk(KERN_ERR |
535 | "%s: unexpected _GTM length (0x%x)[should be 0x%x] or addr (0x%p)\n", | 535 | "%s: unexpected _GTM length (0x%x)[should be 0x%zx] or " |
536 | __FUNCTION__, out_obj->buffer.length, | 536 | "addr (0x%p)\n", |
537 | sizeof(struct GTM_buffer), out_obj->buffer.pointer); | 537 | __FUNCTION__, out_obj->buffer.length, |
538 | sizeof(struct GTM_buffer), out_obj->buffer.pointer); | ||
538 | return; | 539 | return; |
539 | } | 540 | } |
540 | 541 | ||