[parisc-linux] Just a question about a sba_iommu.c warning with gcc 64bit (but not 32bit)?
Kyle McMartin
kyle at mcmartin.ca
Wed May 10 14:13:14 MDT 2006
On Wed, May 10, 2006 at 02:08:39PM +0200, Joel Soete wrote:
> /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c:1000: warning: value
> computed is not used
lack of cast to (void)
> /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c:1767: warning:
> initialization makes integer from pointer without a cast
ioc_hpa should be void __iomem *
> /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c:1782: warning:
> passing argument 1 of '__raw_readq' makes pointer from integ
> er without a cast
> /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c:1784: warning:
> passing argument 2 of '__raw_writeq' makes pointer from inte
> ger without a cast
rope_cfg and cfg_val should be void __iomem *
> /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c:1790: warning:
> passing argument 2 of '__raw_writeq' makes pointer from inte
> ger without a cast
ioc_hpa should be void __iomem *
> /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c:1794: warning: value
> computed is not used
>
lack of cast to (void)
More information about the parisc-linux
mailing list