summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorRashika Kheria2014-04-03 23:49:09 +0200
committerLinus Torvalds2014-04-04 01:21:12 +0200
commit3c516cdd02633bda90759ea227e6abb003f8c20a (patch)
tree8407bca507482b88424a58e9679f4624ff91cfce /scripts/checkpatch.pl
parentlib/random32.c: minor cleanups and kdoc fix (diff)
downloadkernel-qcow2-linux-3c516cdd02633bda90759ea227e6abb003f8c20a.tar.gz
kernel-qcow2-linux-3c516cdd02633bda90759ea227e6abb003f8c20a.tar.xz
kernel-qcow2-linux-3c516cdd02633bda90759ea227e6abb003f8c20a.zip
lib/clz_ctz.c: add prototype declarations in lib/clz_ctz.c
Add prototype declarations of functions in lib/clz_ctz.c. These functions are required by GCC builtins and hence can not be removed despite of their unreferenced appearance in kernel source. This eliminates the following warning in lib/clz_ctz.c: lib/clz_ctz.c:16:12: warning: no previous prototype for `__ctzsi2' [-Wmissing-prototypes] lib/clz_ctz.c:22:12: warning: no previous prototype for `__clzsi2' [-Wmissing-prototypes] lib/clz_ctz.c:44:12: warning: no previous prototype for `__clzdi2' [-Wmissing-prototypes] lib/clz_ctz.c:50:12: warning: no previous prototype for `__ctzdi2' [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Acked-by: Chanho Min <chanho.min@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions