]> git.karo-electronics.de Git - linux-beck.git/commit
export: declare ksymtab symbols
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Jan 2014 23:48:48 +0000 (10:18 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 15 Jan 2014 23:53:02 +0000 (10:23 +1030)
commit7b4ec8dd7d4ac467e9eee4d49f2c9574d773efbb
treee23b69d94fe0cc82a67c6b281ca4d0d2c4d4855e
parent74e22fac8858f83af9b589f1dcb004ccf4991003
export: declare ksymtab symbols

sparse complains about any __ksymtab symbols with the following:

 warning: symbol '__ksymtab_...' was not declared. Should it be static?

due to Andi's patch making it non-static.

Mollify sparse by declaring the symbol extern, otherwise we get
drowned in sparse warnings for anything that uses EXPORT_SYMBOL
in the sources, making it easy to miss real warnings.

Fixes: e0f244c63fc9 ("asmlinkage, module: Make ksymtab [...] __visible")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/export.h