ACPI: fix resource check message
commit106d1a0ab2a354b97df3e232be7dedbfaf8e901d
authorThomas Renninger <trenn@suse.de>
Mon, 20 Dec 2010 11:11:45 +0000 (20 12:11 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 12 Jan 2011 17:16:05 +0000 (12 12:16 -0500)
treeaa5029d83b5e33e2b9913949e0771f4664a0414e
parent5b275ce27077d6463ca28c9671dce7c2c1f622e2
ACPI: fix resource check message

printk("%pR",...)
is for formatting struct resource only.
But the list built up in drivers/acpi/osl.c uses it's own struct:
struct acpi_res_list {}

Without this patch you can see wrongly formatted resources (SMRG is of IO type):

ACPI: resource 0000:00:1f.3 [io  0x0400-0x041f] conflicts with AC
      PI region SMRG [mem 0x00000400-0x0000040f 64bit pref disabled]

https://bugzilla.kernel.org/show_bug.cgi?id=26342

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/osl.c