[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1250134360.3587.77.camel@pasglop>
Date: Thu, 13 Aug 2009 13:32:40 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Tiago Vignatti <tiago.vignatti@...ia.com>,
Dave Airlie <airlied@...hat.com>
Subject: Re: linux-next: pci tree build warning
On Thu, 2009-08-13 at 12:47 +1000, Stephen Rothwell wrote:
> Hi Jesse,
>
> Today's linux-next build (x86_64 allmodconfig) produced these warnings:
>
> drivers/gpu/vga/vgaarb.c: In function 'vga_arb_write':
> drivers/gpu/vga/vgaarb.c:834: warning: cast from pointer to integer of different size
> drivers/gpu/vga/vgaarb.c:870: warning: cast from pointer to integer of different size
> drivers/gpu/vga/vgaarb.c:920: warning: cast from pointer to integer of different size
> drivers/gpu/vga/vgaarb.c:963: warning: cast from pointer to integer of different size
> drivers/gpu/vga/vgaarb.c:1017: warning: cast from pointer to integer of different size
>
> Introduced by commit a49c9c1b728fa8f50816d96a0f135e15a359e448 ("PCI/GPU:
> implement VGA arbitration on Linux").
Right, somebody weirdly decided to cast pointers to int just to printk
them with %X :-) I hope it wasn't me ...
Just remove the casts and use %p instead.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists