android_kernel_samsung_msm8976/scripts
Dirk Mueller 83fdce81a7 scripts/dtc: Remove redundant YYLOC global declaration
gcc 10 will default to -fno-common, which causes this error at link
time:

  (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here

This is because both dtc-lexer as well as dtc-parser define the same
global symbol yyloc. Before with -fcommon those were merged into one
defintion. The proper solution would be to to mark this as "extern",
however that leads to:

  dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls]
   26 | extern YYLTYPE yylloc;
      |                ^~~~~~
In file included from dtc-lexer.l:24:
dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here
  127 | extern YYLTYPE yylloc;
      |                ^~~~~~
cc1: all warnings being treated as errors

which means the declaration is completely redundant and can just be
dropped.

Signed-off-by: Dirk Mueller <dmueller@suse.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[robh: cherry-pick from upstream]
Cc: stable@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Change-Id: Ie5f32479b6fb948472bbfdec45a07c3728855c28
2022-12-09 11:37:02 +01:00
..
basic
coccinelle scripts/coccinelle: modernize & 2016-06-07 10:42:47 +02:00
dtc scripts/dtc: Remove redundant YYLOC global declaration 2022-12-09 11:37:02 +01:00
genksyms
kconfig Merge remote-tracking branch 'f2fs/linux-3.10.y' into HEAD 2017-04-18 17:02:28 +02:00
ksymoops
mod scripts: modpost: check memory allocation results 2019-07-27 21:51:37 +02:00
package deb-pkg: Fix cross-building linux-headers package 2014-03-31 09:58:13 -07:00
rt-tester
selinux
tracing
.gitignore
Kbuild.include
Lindent
Makefile
Makefile.asm-generic
Makefile.build
Makefile.clean
Makefile.fwinst
Makefile.headersinst Merge upstream tag 'v3.10.40' into msm-3.10 2014-06-18 13:10:54 -07:00
Makefile.help
Makefile.host
Makefile.kasan kasan: enable instrumentation of global variables 2015-05-04 14:03:57 -07:00
Makefile.lib scripts: Don't create .reverse.dts files 2017-04-18 03:46:37 +02:00
Makefile.modbuiltin
Makefile.modinst kbuild: make it possible to specify the module output dir 2015-03-19 15:00:14 -07:00
Makefile.modpost
Makefile.modsign
asn1_compiler.c X.509: remove possible code fragility: enumeration values not handled 2017-04-18 12:11:12 +02:00
bin2c.c
bloat-o-meter scripts/bloat-o-meter: fix python3 syntax error 2016-02-25 11:57:49 -08:00
bootgraph.pl
build-all.py scripts: Restore some of the parallism in "all" builds 2015-05-27 10:48:33 -07:00
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl Revert "checkpatch: emit a warning on file add/move/delete" 2015-06-25 17:54:58 -07:00
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
config
conmakehash.c
decodecode
depmod.sh
diffconfig
docproc.c
export_report.pl
extract-ikconfig
extract-vmlinux
gcc-goto.sh
gcc-version.sh
gcc-wrapper.py Merge "scripts: Call out python2 explicitly" 2015-04-30 23:29:27 -07:00
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.sh kbuild: fix make headers_install when path is too long 2014-04-14 06:42:14 -07:00
kallsyms.c scripts/kallsyms: filter symbols not in kernel address space 2013-12-02 16:44:06 -05:00
kernel-doc scripts/kernel-doc: don't eat struct members with __aligned 2015-01-16 06:59:02 -08:00
link-vmlinux.sh scripts/kallsyms: filter symbols not in kernel address space 2013-12-02 16:44:06 -05:00
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.c ftrace/recordmcount: Work around for addition of metag magic but not relocations 2019-07-27 21:42:00 +02:00
recordmcount.h recordmcount: Fix endianness handling bug for nop_mcount 2016-02-19 14:22:37 -08:00
recordmcount.pl This is the 3.10.96 stable release 2017-04-18 17:16:02 +02:00
setlocalversion
show_delta
sign-file
sortextable.c scripts: remove unused function in sortextable.c 2017-04-18 10:33:44 +02:00
sortextable.h scripts/sortextable: suppress warning: `relocs_size' may be used uninitialized 2017-04-18 10:33:40 +02:00
spelling.txt checkpatch: look for common misspellings 2015-06-25 17:43:57 -07:00
tags.sh scripts/tags.sh: catch 4.9-rc6 2016-12-09 11:37:57 -08:00
unifdef.c
ver_linux
xz_wrap.sh