From: Len Brown <len.brown@intel.com>
To: akpm@osdl.org
Cc: linux-acpi@vger.kernel.org, rdunlap@xenotime.net
Subject: Re: [patch 02/12] ACPI: fix printk format warnings
Date: Sat, 14 Oct 2006 04:07:33 -0400 [thread overview]
Message-ID: <200610140407.33934.len.brown@intel.com> (raw)
In-Reply-To: <200610102120.k9ALKWWE024269@shell0.pdx.osdl.net>
Applied.
thanks,
-Len
On Tuesday 10 October 2006 17:20, akpm@osdl.org wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix printk format warnings in drivers/acpi:
> drivers/acpi/tables/tbget.c:326: warning: format '%X' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
> drivers/acpi/tables/tbrsdt.c:189: warning: format '%X' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> Cc: "Brown, Len" <len.brown@intel.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> drivers/acpi/tables/tbget.c | 2 +-
> drivers/acpi/tables/tbrsdt.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff -puN drivers/acpi/tables/tbget.c~acpi-fix-printk-format-warnings drivers/acpi/tables/tbget.c
> --- a/drivers/acpi/tables/tbget.c~acpi-fix-printk-format-warnings
> +++ a/drivers/acpi/tables/tbget.c
> @@ -324,7 +324,7 @@ acpi_tb_get_this_table(struct acpi_point
>
> if (header->length < sizeof(struct acpi_table_header)) {
> ACPI_ERROR((AE_INFO,
> - "Table length (%X) is smaller than minimum (%X)",
> + "Table length (%X) is smaller than minimum (%zX)",
> header->length, sizeof(struct acpi_table_header)));
>
> return_ACPI_STATUS(AE_INVALID_TABLE_LENGTH);
> diff -puN drivers/acpi/tables/tbrsdt.c~acpi-fix-printk-format-warnings drivers/acpi/tables/tbrsdt.c
> --- a/drivers/acpi/tables/tbrsdt.c~acpi-fix-printk-format-warnings
> +++ a/drivers/acpi/tables/tbrsdt.c
> @@ -187,7 +187,7 @@ acpi_status acpi_tb_validate_rsdt(struct
>
> if (table_ptr->length < sizeof(struct acpi_table_header)) {
> ACPI_ERROR((AE_INFO,
> - "RSDT/XSDT length (%X) is smaller than minimum (%X)",
> + "RSDT/XSDT length (%X) is smaller than minimum (%zX)",
> table_ptr->length,
> sizeof(struct acpi_table_header)));
>
> _
> -
> 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
>
next prev parent reply other threads:[~2006-10-14 8:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-10 21:20 [patch 02/12] ACPI: fix printk format warnings akpm
2006-10-14 8:07 ` Len Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-10-10 21:47 Moore, Robert
2006-10-10 22:01 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200610140407.33934.len.brown@intel.com \
--to=len.brown@intel.com \
--cc=akpm@osdl.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rdunlap@xenotime.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.