Messages in this thread | | | Date | Fri, 09 Jul 2010 22:47:21 +0200 | From | Jiri Slaby <> | Subject | Re: Warning message when using sparse |
| |
On 07/09/2010 03:52 AM, Larry Finger wrote: > On recent kernels, sparse reports the following message for every source > file that is processed. The warning does not seem to affect the results. > I'm not sure when the problem started, but I think it was with 2.6.35-rc1. > > > CHECK drivers/staging/rtl8712/rtl871x_rf.c > /home/finger/linux-2.6/arch/x86/include/asm/cpufeature.h:297:21: error: > Expected ( after asm > /home/finger/linux-2.6/arch/x86/include/asm/cpufeature.h:297:21: error: > got goto >
Yeah, I posted a support for that already: http://git.kernel.org/?p=devel/sparse/chrisl/sparse.git;a=summary
The patch is not 100% correct, it doesn't support asm volatile goto and similar.
What distro you use? I will fix it in opensuse (which provide gcc 4.5 already), if there will be no new release of sparse.
regards, -- js
| |