From patchwork Fri Jun 17 03:19:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Rui X-Patchwork-Id: 890192 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5H3JDKP002964 for ; Fri, 17 Jun 2011 03:19:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755201Ab1FQDTK (ORCPT ); Thu, 16 Jun 2011 23:19:10 -0400 Received: from mga14.intel.com ([143.182.124.37]:34433 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755724Ab1FQDTJ (ORCPT ); Thu, 16 Jun 2011 23:19:09 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 16 Jun 2011 20:19:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,379,1304319600"; d="scan'208";a="14263585" Received: from rui.sh.intel.com (HELO [10.239.36.62]) ([10.239.36.62]) by azsmga001.ch.intel.com with ESMTP; 16 Jun 2011 20:19:07 -0700 Subject: [PATCH] ACPI video: show _DOD element in hexadecimal format From: Zhang Rui To: "Brown, Len" Cc: "linux-acpi@vger.kernel.org" Date: Fri, 17 Jun 2011 11:19:50 +0800 Message-ID: <1308280790.17353.2.camel@rui> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 17 Jun 2011 03:19:13 +0000 (UTC) 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 --- drivers/acpi/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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++; }