[parisc-linux] Re: 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:05:06 MDT 2006


On Wed, May 10, 2006 at 02:07:16PM -0600, Grant Grundler wrote:
> On Wed, May 10, 2006 at 02:08:39PM +0200, Joel Soete wrote:
> > Hello all,
> > 
> > Compiling kernel 2.6.17-rc3-pa3 with gcc-4.1 64bits, I read in log:
> > /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c
> > /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c: In function
> > 'sba_unmap_single':
> > /usr/src/linux-2.6.17-rc3-pa3/drivers/parisc/sba_iommu.c:1000: warning: value
> > computed is not used
> 
> I'll look into the warnings tonight.
> Last time I changed the driver it compiled clean.
>

this is fucking gcc once again being annoying.

the "value computed is not used" is on READ_REG, i'll bet you a 
bailey's that it's the lack of a cast to void, which is STUPID.

(void)-ing up the place looks ugly as sin.

cheers,
	kyle 



More information about the parisc-linux mailing list