Re: [PATCH] sparc64: fix unused-but-set-variable warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dennis Gilmore <dennis@xxxxxxxx>
Date: Sat, 26 Feb 2011 20:08:00 -0600

> On Saturday, February 26, 2011 04:28:43 PM Sam Ravnborg wrote:
>> David - please do not apply this yet.
>> I need to go through it to convince myself that it is OK to ignore
>> the return resut in the cases where I blindly deleted it for now.
>> 
>> I will repost when I have done so.
>> 
>> Dennis - I would still like to know if this fixes all
>> sparc warnings so you no longer need to drop -Werror.
> 
> 
> arch/sparc/kernel/smp_64.c: In function 'flush_dcache_page_all':
> arch/sparc/kernel/smp_64.c:935:6: error: variable 'this_cpu' set but not used 
> [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
> make[1]: *** [arch/sparc/kernel/smp_64.o] Error 1
> 
> it fails to build still.  thanks Sam

Would have taken you like 5 seconds to look at the location that
warning is pointing to and try toss together a fix yourself for
us too look at?

Sam and I continue working on this, but I really expect a little bit
more effort on your part.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux