* [PATCH] ACPI video: show _DOD element in hexadecimal format
@ 2011-06-17 3:19 Zhang Rui
0 siblings, 0 replies; only message in thread
From: Zhang Rui @ 2011-06-17 3:19 UTC (permalink / raw)
To: Brown, Len; +Cc: linux-acpi@vger.kernel.org
video-1250 [4140343344] [-14] video_device_enumerate: dod element[0] = -2147417856
video-1250 [4140343344] [-14] video_device_enumerate: dod element[1] = -2147417088
...
As each element of _DOD method stands for a 32-bit device attribute
of a video output device, print it in hexadecimal format.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
drivers/acpi/video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/drivers/acpi/video.c
===================================================================
--- linux-2.6.orig/drivers/acpi/video.c
+++ linux-2.6/drivers/acpi/video.c
@@ -1179,7 +1179,7 @@ static int acpi_video_device_enumerate(s
active_list[count].value.int_val = obj->integer.value;
active_list[count].bind_info = NULL;
- ACPI_DEBUG_PRINT((ACPI_DB_INFO, "dod element[%d] = %d\n", i,
+ ACPI_DEBUG_PRINT((ACPI_DB_INFO, "dod element[%d] = 0x%x\n", i,
(int)obj->integer.value));
count++;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-17 3:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 3:19 [PATCH] ACPI video: show _DOD element in hexadecimal format Zhang Rui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).