Messages in this thread | | | Date | Fri, 15 Jan 2010 08:46:25 +0900 | From | Paul Mundt <> | Subject | Re: [PATCH] cpuinfo_op: consolidate extern declaration |
| |
On Thu, Jan 14, 2010 at 11:58:09AM -0700, H Hartley Sweeten wrote: > cpuinfo_op: consolidate extern declaration > > All the architectures supported by the kernel also support > /proc/cpuinfo. Only a couple actually declare the seq_operations > as extern. All the others will produce a sparse warning like: > > warning: symbol 'cpuinfo_op' was not declared. Should it be static? > > Fix all the warnings and consolidate the declaration by putting it > in <linux/seq_file.h>. > > Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> > Cc: Ingo Molnar <mingo@redhat.com> > Cc: Thomas Gleixner <tglx@linutronix.de> > Cc: Michal Simek <monstr@monstr.eu> > Cc: Paul Mundt <lethal@linux-sh.org> > Cc: H. Peter Anvin <hpa@zytor.com> > I guess we know from this list which architectures run sparse ;-)
Acked-by: Paul Mundt <lethal@linux-sh.org>
| |