Re: [PATCH] kernel/resource: fix printk format warning

From: Yinghai Lu
Date: Sat Oct 11 2008 - 17:54:02 EST


On Sat, Oct 11, 2008 at 1:58 PM, Alexander Beregalov
<a.beregalov@xxxxxxxxx> wrote:
>
>
> Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
> ---
>
> kernel/resource.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/resource.c b/kernel/resource.c
> index 414d6fc..cfe0933 100644
> --- a/kernel/resource.c
> +++ b/kernel/resource.c
> @@ -550,8 +550,8 @@ static void __init __reserve_region_with_split(struct resource *root,
>
> if (!res) {
> printk(KERN_DEBUG " __reserve_region_with_split: (%s) [%llx, %llx], res: (%s) [%llx, %llx]\n",
> - conflict->name, conflict->start, conflict->end,
> - name, start, end);
> + conflict->name, (unsigned long long)conflict->start, (unsigned long long)conflict->end,
> + name, (unsigned long long)start, (unsigned long long)end);
>
> /* failed, split and try again */

Ingo should already have one patch in tip to remove that print out.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/