Commit 1e8f34f7 authored by Andrew Morton's avatar Andrew Morton Committed by Bartlomiej Zolnierkiewicz

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent e3a59b4d
...@@ -532,9 +532,10 @@ void ide_acpi_get_timing(ide_hwif_t *hwif) ...@@ -532,9 +532,10 @@ void ide_acpi_get_timing(ide_hwif_t *hwif)
out_obj->buffer.length != sizeof(struct GTM_buffer)) { out_obj->buffer.length != sizeof(struct GTM_buffer)) {
kfree(output.pointer); kfree(output.pointer);
printk(KERN_ERR printk(KERN_ERR
"%s: unexpected _GTM length (0x%x)[should be 0x%x] or addr (0x%p)\n", "%s: unexpected _GTM length (0x%x)[should be 0x%zx] or "
__FUNCTION__, out_obj->buffer.length, "addr (0x%p)\n",
sizeof(struct GTM_buffer), out_obj->buffer.pointer); __FUNCTION__, out_obj->buffer.length,
sizeof(struct GTM_buffer), out_obj->buffer.pointer);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment