[PATCH 4/8] Silence warnings in arch/powerpc/platforms/52xx/mpc52xx_pci.c

Tony Breeds tony at bakeyournoodle.com
Thu Jul 31 14:21:51 EST 2008


On Thu, Jul 31, 2008 at 12:08:04AM -0400, Jon Smirl wrote:
> There are some warnings in mpc5200 spi that I haven't looked at....
> 
> drivers/spi/mpc52xx_psc_spi.c: In function 'mpc52xx_psc_spi_activate_cs':
> drivers/spi/mpc52xx_psc_spi.c:111: warning: passing argument 1 of
> 'in_be16' from incompatible pointer type
> drivers/spi/mpc52xx_psc_spi.c:117: warning: passing argument 1 of
> 'out_be16' from incompatible pointer type
> drivers/spi/mpc52xx_psc_spi.c: In function 'mpc52xx_psc_spi_port_config':
> drivers/spi/mpc52xx_psc_spi.c:350: warning: passing argument 1 of
> 'out_be16' from incompatible pointer type

Right drivers/* is harder, and wont be affected by the addition of
-Werror in arch/powerpc

We'll get there eventiually.

Yours Tony

  linux.conf.au    http://www.marchsouth.org/
  Jan 19 - 24 2009 The Australian Linux Technical Conference!




More information about the Linuxppc-dev mailing list