diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-17 02:08:12 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-30 22:31:02 +0200 |
commit | 11ddad396086f8d1dfcb0056dc9d65d228f755c1 (patch) | |
tree | 6d2ebc9fab7ca8aa1a9eb4245c323df2515756e1 /scripts/checkpatch.pl | |
parent | be2be1d59035a28debb22555f103e676a8f74186 (diff) | |
download | op-kernel-dev-11ddad396086f8d1dfcb0056dc9d65d228f755c1.zip op-kernel-dev-11ddad396086f8d1dfcb0056dc9d65d228f755c1.tar.gz |
kbuild: scripts/genksyms/lex.l: add %option noinput
gcc 4.3 correctly determines that input() is unused and gives the
following warning:
<-- snip -->
...
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c:1487: warning: ‘input’ defined but not used
...
<-- snip -->
Fix it by adding %option noinput to scripts/genksyms/lex.l and
regeneration of scripts/genksyms/lex.c_shipped.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions