[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110910052719.GC4807@mwanda>
Date: Fri, 9 Sep 2011 22:27:19 -0700
From: Dan Carpenter <error27@...il.com>
To: H Hartley Sweeten <hartleys@...ionengravers.com>
Cc: linux-sparse@...r.kernel.org,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: improper sparse warnings in linux kernel build?
On Fri, Sep 09, 2011 at 03:41:28PM -0700, H Hartley Sweeten wrote:
> I'm not really sure what the DEFINE_PER_CPU macro expands to so I'm not
> sure if the 'static' in front is actually getting used or if sparse is just
> confused.
>
> Is this an actual problem in the linux kernel or is sparse just getting
> tripped up by the DEFINE_PER_CPU macro?
>
I don't have a kernel git archive handy, but probably sparse is
correct. Do a "make arch/x86/kernel/cpu/mcheck/mce_intel.i" and run
sparse on the .i file to find the line number that complains.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists