RE: [PATCH] fbdev/xilinxfb: Fix improper casting and tighen up probe path

2009-06-15 Thread John Linn
> -Original Message- > From: Grant Likely [mailto:grant.lik...@secretlab.ca] > Sent: Friday, June 12, 2009 11:57 AM > To: linuxppc-...@ozlabs.org; linux-ker...@vger.kernel.org; b...@kernel.crashing.org; John Linn > Subject: [PATCH] fbdev/xilinxfb: Fix improper casting and

RE: [PATCH] fbdev/xilinxfb: Fix improper casting and tighen up probe path

2009-06-15 Thread John Linn
> -Original Message- > From: Grant Likely [mailto:grant.lik...@secretlab.ca] > Sent: Friday, June 12, 2009 11:57 AM > To: linuxppc-...@ozlabs.org; linux-ker...@vger.kernel.org; b...@kernel.crashing.org; John Linn > Subject: [PATCH] fbdev/xilinxfb: Fix improper casting and

[PATCH] fbdev/xilinxfb: Fix improper casting and tighen up probe path

2009-06-12 Thread Grant Likely
From: Grant Likely The xilinxfb driver is improperly casting a physical address to a u32, and the probe routine isn't as straight forward as it could be. (discovered by gcc spitting out warnings on most recent change to xilinxfb driver). This patch fixes the cast and simplifies the probe path.