diff options
author | Bob Moore <robert.moore@intel.com> | 2010-03-05 04:56:40 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-20 10:42:52 -0400 |
commit | f6a22b0bc417042e83117f52ab1a03696af185ab (patch) | |
tree | 0d03a22c27c592338629f2af67e7b2b9a8521b01 /drivers/acpi/acpica/evgpe.c | |
parent | 0e264f0bc22207b99f33ee06e614186480682f15 (diff) |
ACPICA: Standardize integer output for ACPICA warnings/errors
Always use 0x prefix for hex output, use %u for integer output
(all integers are unsigned.)
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/evgpe.c')
-rw-r--r-- | drivers/acpi/acpica/evgpe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c index 78c55508aff5..b9d50ef9f3ec 100644 --- a/drivers/acpi/acpica/evgpe.c +++ b/drivers/acpi/acpica/evgpe.c | |||
@@ -499,7 +499,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
499 | status = acpi_hw_clear_gpe(gpe_event_info); | 499 | status = acpi_hw_clear_gpe(gpe_event_info); |
500 | if (ACPI_FAILURE(status)) { | 500 | if (ACPI_FAILURE(status)) { |
501 | ACPI_EXCEPTION((AE_INFO, status, | 501 | ACPI_EXCEPTION((AE_INFO, status, |
502 | "Unable to clear GPE[%2X]", | 502 | "Unable to clear GPE[0x%2X]", |
503 | gpe_number)); | 503 | gpe_number)); |
504 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); | 504 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); |
505 | } | 505 | } |
@@ -532,7 +532,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
532 | status = acpi_hw_clear_gpe(gpe_event_info); | 532 | status = acpi_hw_clear_gpe(gpe_event_info); |
533 | if (ACPI_FAILURE(status)) { | 533 | if (ACPI_FAILURE(status)) { |
534 | ACPI_EXCEPTION((AE_INFO, status, | 534 | ACPI_EXCEPTION((AE_INFO, status, |
535 | "Unable to clear GPE[%2X]", | 535 | "Unable to clear GPE[0x%2X]", |
536 | gpe_number)); | 536 | gpe_number)); |
537 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); | 537 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); |
538 | } | 538 | } |
@@ -548,7 +548,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
548 | status = acpi_ev_disable_gpe(gpe_event_info); | 548 | status = acpi_ev_disable_gpe(gpe_event_info); |
549 | if (ACPI_FAILURE(status)) { | 549 | if (ACPI_FAILURE(status)) { |
550 | ACPI_EXCEPTION((AE_INFO, status, | 550 | ACPI_EXCEPTION((AE_INFO, status, |
551 | "Unable to disable GPE[%2X]", | 551 | "Unable to disable GPE[0x%2X]", |
552 | gpe_number)); | 552 | gpe_number)); |
553 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); | 553 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); |
554 | } | 554 | } |
@@ -562,7 +562,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
562 | gpe_event_info); | 562 | gpe_event_info); |
563 | if (ACPI_FAILURE(status)) { | 563 | if (ACPI_FAILURE(status)) { |
564 | ACPI_EXCEPTION((AE_INFO, status, | 564 | ACPI_EXCEPTION((AE_INFO, status, |
565 | "Unable to queue handler for GPE[%2X] - event disabled", | 565 | "Unable to queue handler for GPE[0x%2X] - event disabled", |
566 | gpe_number)); | 566 | gpe_number)); |
567 | } | 567 | } |
568 | break; | 568 | break; |
@@ -572,7 +572,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
572 | /* No handler or method to run! */ | 572 | /* No handler or method to run! */ |
573 | 573 | ||
574 | ACPI_ERROR((AE_INFO, | 574 | ACPI_ERROR((AE_INFO, |
575 | "No handler or method for GPE[%2X], disabling event", | 575 | "No handler or method for GPE[0x%2X], disabling event", |
576 | gpe_number)); | 576 | gpe_number)); |
577 | 577 | ||
578 | /* | 578 | /* |
@@ -582,7 +582,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
582 | status = acpi_ev_disable_gpe(gpe_event_info); | 582 | status = acpi_ev_disable_gpe(gpe_event_info); |
583 | if (ACPI_FAILURE(status)) { | 583 | if (ACPI_FAILURE(status)) { |
584 | ACPI_EXCEPTION((AE_INFO, status, | 584 | ACPI_EXCEPTION((AE_INFO, status, |
585 | "Unable to disable GPE[%2X]", | 585 | "Unable to disable GPE[0x%2X]", |
586 | gpe_number)); | 586 | gpe_number)); |
587 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); | 587 | return_UINT32(ACPI_INTERRUPT_NOT_HANDLED); |
588 | } | 588 | } |