WSL2-Linux-Kernel/scripts
Patrick Pannuto b998e001e6 checkpatch: fix extraneous EXPORT_SYMBOL* warnings
These are caused by checkpatch incorrectly parsing its internal
representation of a statement block for struct's (or anything else that is
a statement block encapsulated in {}'s that also ends with a ';').  Fix
this by properly parsing a statement block.

An example:

	+struct dummy_type dummy = {
	+	.foo	= "baz",
	+};
	+EXPORT_SYMBOL_GPL(dummy);
	+
	+static int dummy_func(void)
	+{
	+	return -EDUMMYCODE;
	+}
	+EXPORT_SYMBOL_GPL(dummy_func);

	WARNING: EXPORT_SYMBOL(foo); should immediately \
		follow its function/variable
	#19: FILE: dummy.c:4:
	+EXPORT_SYMBOL_GPL(dummy);

The above warning is issued when it should not be.

Signed-off-by: Patrick Pannuto <ppannuto@codeaurora.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-09 20:45:09 -07:00
..
basic
coccinelle Add scripts/coccinelle/deref_null.cocci 2010-06-12 00:00:29 +02:00
dtc scripts/dtc: Fix a resource leak 2010-07-02 13:51:11 +02:00
genksyms
kconfig kconfig: fix make oldconfig 2010-08-06 09:17:02 -07:00
ksymoops
mod scripts/mod/modpost.c: fix memory leak 2010-08-09 20:45:05 -07:00
package Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-08-06 09:30:52 -07:00
rt-tester
selinux
tracing
.gitignore
Kbuild.include
Lindent
Makefile
Makefile.build kbuild: allow assignment to {A,C}FLAGS_KERNEL on the command line 2010-08-03 14:09:45 +02:00
Makefile.clean
Makefile.fwinst
Makefile.headersinst
Makefile.help Add a target to use the Coccinelle checker 2010-06-12 00:00:29 +02:00
Makefile.host
Makefile.lib
Makefile.modbuiltin kbuild: Create output directory in Makefile.modbuiltin 2010-06-10 12:23:08 +02:00
Makefile.modinst
Makefile.modpost trivial: fix a typo in a filename 2010-08-03 14:59:50 +02:00
bin2c.c
bloat-o-meter
bootgraph.pl
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl checkpatch: fix extraneous EXPORT_SYMBOL* warnings 2010-08-09 20:45:09 -07:00
checkstack.pl
checksyscalls.sh Add wait4() back to the set of <asm-generic/unistd.h> syscalls. 2010-06-25 14:54:16 -04:00
checkversion.pl
cleanfile
cleanpatch
coccicheck Add support for the C variable in the coccicheck script 2010-06-28 16:44:53 +02:00
config
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.pl
kallsyms.c
kernel-doc
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.pl tracing: Fix $mcount_regex for MIPS in recordmcount.pl 2010-07-22 14:55:43 -04:00
setlocalversion kbuild: Fix make rpm 2010-07-21 16:06:05 +02:00
show_delta
tags.sh
unifdef.c
ver_linux