Dirk Mueller
621f2ded60
scripts/dtc: Remove redundant YYLOC global declaration
...
commit e33a814e77 upstream.
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 >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2020-04-02 15:28:17 +02:00
..
2018-07-18 01:18:05 +09:00
2019-05-08 07:21:51 +02:00
2020-04-02 15:28:17 +02:00
2019-10-05 13:10:02 +02:00
2019-12-05 09:19:44 +01:00
2019-07-31 07:27:02 +02:00
2020-02-24 08:34:39 +01:00
2017-03-28 16:16:52 +02:00
2019-12-13 08:52:20 +01:00
2019-04-17 08:38:45 +02:00
2019-05-04 09:20:10 +02:00
2018-07-29 11:08:38 +09:00
2018-07-18 01:18:05 +09:00
2018-05-17 22:44:57 +09:00
2018-04-07 19:04:02 +09:00
2018-07-18 01:18:05 +09:00
2018-04-09 16:47:28 +02:00
2017-05-14 11:20:44 +09:00
2018-05-17 17:34:43 +02:00
2018-06-28 13:36:39 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2018-09-04 16:45:02 -07:00
2019-06-25 11:35:58 +08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-22 23:21:40 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-14 08:58:56 +09:00
2017-11-02 11:10:55 +01:00
2014-04-30 17:34:32 +02:00
2016-10-11 15:06:30 -07:00
2019-09-16 08:21:44 +02:00
2018-01-31 17:18:34 -08:00
2018-09-09 09:14:07 +09:00
2017-11-02 11:10:55 +01:00
2018-07-02 11:25:00 -06:00
2017-05-14 11:20:44 +09:00
2018-05-04 06:21:06 -04:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-08 09:32:32 +09:00
2018-06-05 09:04:37 -07:00
2018-03-26 02:01:24 +09:00
2020-02-11 04:34:01 -08:00
2019-06-04 08:02:34 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-08 18:56:00 +09:00
2018-06-25 23:21:13 +09:00
2017-05-14 11:20:44 +09:00
2018-08-22 10:52:48 -07:00
2012-06-27 12:44:29 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2016-02-26 15:30:20 +00:00
2020-01-04 19:13:09 +01:00
2018-08-30 11:37:08 +02:00
2020-02-24 08:34:50 +01:00
2018-08-06 13:36:20 -06:00
2017-11-02 11:10:55 +01:00
2018-04-07 08:50:34 +10:00
2017-11-02 11:10:55 +01:00
2018-08-24 08:22:08 +09:00
2018-07-18 01:18:05 +09:00
2017-11-17 17:45:29 -08:00
2018-12-05 19:32:01 +01:00
2018-08-09 21:51:17 +09:00
2017-11-14 18:25:40 -08:00
2020-03-25 08:06:14 +01:00
2018-07-24 16:11:07 -07:00
2017-11-17 17:45:29 -08:00
2018-07-18 01:18:05 +09:00
2018-02-06 18:32:47 -08:00
2018-06-11 09:14:08 +09:00
2019-12-13 08:52:18 +01:00
2018-08-03 00:47:00 +09:00
2018-07-06 22:04:03 +09:00
2019-08-25 10:47:55 +02:00
2018-07-06 22:04:03 +09:00
2018-08-10 20:19:58 -07:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2019-10-29 09:19:36 +01:00
2017-03-11 11:13:38 +09:00
2020-03-25 08:06:08 +01:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-29 16:43:19 +01:00
2019-07-31 07:27:03 +02:00
2018-09-04 14:45:18 +08:00
2019-11-06 13:05:27 +01:00
2014-06-10 00:04:06 +02:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2014-10-14 02:18:23 +02:00
2018-12-19 19:19:50 +01:00
2018-08-23 18:48:43 -07:00
2019-08-16 10:12:44 +02:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-05 08:12:09 -06:00
2018-07-18 19:32:54 -07:00
2018-12-08 12:59:06 +01:00
2018-07-07 17:44:52 +02:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00