linux-next: build warning after merge of the kbuild tree
Subsystems (2)
Hi Michal,
After merging the kbuild tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:
In file included from scripts/kconfig/zconf.tab.c:2502:scripts/kconfig/expr.c:1033: warning: no previous prototype for 'expr_simplify_unmet_dep'
Introduced by commit 1137c56b7420c801147e0863845c03b07554721a ("kconfig:
simplify select-with-unmet-direct-dependency warning").
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
PATCH 1/1 kconfig: fix warning
Hi,
This should do it, sorry for that, I believe the original patch was not fully ready for integration.
- Arnaud
---
From: Arnaud Lacombe <[email protected]>
In file included from scripts/kconfig/zconf.tab.c:2502:scripts/kconfig/expr.c:1033: warning: no previous prototype for 'expr_simplify_unmet_dep'
--- scripts/kconfig/expr.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
scripts/kconfig/expr.h +1 -0
@@ -206,6 +206,7 @@ struct expr *expr_extract_eq_and(struct expr **ep1, struct expr **ep2);struct expr *expr_extract_eq_or (struct expr **ep1,struct expr **ep2);void expr_extract_eq (enum expr_type type,struct expr **ep,struct expr **ep1,struct expr **ep2);struct expr *expr_trans_compare (struct expr *e,enum expr_type type,struct symbol *sym); +struct expr *expr_simplify_unmet_dep (struct expr *e1,struct expr *e2);void expr_fprint (struct expr *e,FILE *out);struct gstr ;/* forward */
Signature · 1 line
1.7.3.3
Re: [PATCH] kconfig: fix warning
Quoted 8 lines · Arnaud Lacombe
In file included from
scripts/kconfig/zconf.tab.c:2502:scripts/kconfig/expr.c:1033: warning: no previous prototype for 'expr_simplify_unmet_dep'Reported-by Stephen Rothwell <[email protected]>Signed-off-by Arnaud Lacombe <[email protected]>--- scripts/kconfig/expr.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied to kbuild-2.6.git#kconfig, thanks.
Michal
Quoted 16 lines
scripts/kconfig/expr.h +1
-0@@ -206,6 +206,7 @@ struct expr *expr_extract_eq_and(struct expr **ep1, struct expr **ep2);struct expr *expr_extract_eq_or (struct expr **ep1,struct expr **ep2);void expr_extract_eq (enum expr_type type,struct expr **ep,struct expr **ep1,struct expr **ep2);struct expr *expr_trans_compare (struct expr *e,enum expr_type type,struct symbol *sym); +struct expr *expr_simplify_unmet_dep (struct expr *e1,struct expr *e2);void expr_fprint (struct expr *e,FILE *out);struct gstr ;/* forward */ Signature · 1 line
1.7.3.3