* [PATCH] kconfig: Temporarily disable dependency warnings [not found] <20101008150343.GF4088@hack> @ 2010-10-09 21:45 ` Michal Marek 2010-10-11 15:23 ` Catalin Marinas 0 siblings, 1 reply; 20+ messages in thread From: Michal Marek @ 2010-10-09 21:45 UTC (permalink / raw) To: linux-kbuild Cc: catalin.marinas, sfr, linux-next, linux-kernel, lacombar, xiyou.wangcong After fixing a use-after-free bug in kconfig, a 'make defconfig' or 'make allmodconfig' fills the screen with warnings that were not detected before. Given that we are close to the release now, disable the warnings temporarily and deal with them after 2.6.36. Signed-off-by: Michal Marek <mmarek@suse.cz> --- scripts/kconfig/symbol.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 943712c..1f8b305 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -349,16 +349,18 @@ void sym_calc_value(struct symbol *sym) prop->visible.tri); } } calc_newval: +#if 0 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { fprintf(stderr, "warning: ("); expr_fprint(sym->rev_dep.expr, stderr); fprintf(stderr, ") selects %s which has unmet direct dependencies (", sym->name); expr_fprint(sym->dir_dep.expr, stderr); fprintf(stderr, ")\n"); } +#endif newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); } if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) newval.tri = yes; -- 1.7.1 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH] kconfig: Temporarily disable dependency warnings 2010-10-09 21:45 ` [PATCH] kconfig: Temporarily disable dependency warnings Michal Marek @ 2010-10-11 15:23 ` Catalin Marinas 2010-10-11 21:46 ` Michal Marek 0 siblings, 1 reply; 20+ messages in thread From: Catalin Marinas @ 2010-10-11 15:23 UTC (permalink / raw) To: Michal Marek Cc: linux-kbuild, sfr, linux-next, linux-kernel, lacombar, xiyou.wangcong On Sat, 2010-10-09 at 22:45 +0100, Michal Marek wrote: > After fixing a use-after-free bug in kconfig, a 'make defconfig' or > 'make allmodconfig' fills the screen with warnings that were not > detected before. Given that we are close to the release now, disable the > warnings temporarily and deal with them after 2.6.36. > > Signed-off-by: Michal Marek <mmarek@suse.cz> Acked-by: Catalin Marinas <catalin.marinas@arm.com> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] kconfig: Temporarily disable dependency warnings 2010-10-11 15:23 ` Catalin Marinas @ 2010-10-11 21:46 ` Michal Marek 2010-10-11 21:59 ` Randy Dunlap 0 siblings, 1 reply; 20+ messages in thread From: Michal Marek @ 2010-10-11 21:46 UTC (permalink / raw) To: Catalin Marinas Cc: linux-kbuild, sfr, linux-next, linux-kernel, lacombar, xiyou.wangcong On 11.10.2010 17:23, Catalin Marinas wrote: > On Sat, 2010-10-09 at 22:45 +0100, Michal Marek wrote: >> After fixing a use-after-free bug in kconfig, a 'make defconfig' or >> 'make allmodconfig' fills the screen with warnings that were not >> detected before. Given that we are close to the release now, disable the >> warnings temporarily and deal with them after 2.6.36. >> >> Signed-off-by: Michal Marek <mmarek@suse.cz> > > Acked-by: Catalin Marinas <catalin.marinas@arm.com> Thanks, but I already pushed it on Saturday. The good news is that Linus did pull from me, so 2.6.36 will have this. Michal ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] kconfig: Temporarily disable dependency warnings 2010-10-11 21:46 ` Michal Marek @ 2010-10-11 21:59 ` Randy Dunlap 2010-10-12 13:19 ` [PATCH] Revert "kconfig: Temporarily disable dependency warnings" Michal Marek 0 siblings, 1 reply; 20+ messages in thread From: Randy Dunlap @ 2010-10-11 21:59 UTC (permalink / raw) To: Michal Marek Cc: Catalin Marinas, linux-kbuild, sfr, linux-next, linux-kernel, lacombar, xiyou.wangcong On Mon, 11 Oct 2010 23:46:48 +0200 Michal Marek wrote: > On 11.10.2010 17:23, Catalin Marinas wrote: > > On Sat, 2010-10-09 at 22:45 +0100, Michal Marek wrote: > >> After fixing a use-after-free bug in kconfig, a 'make defconfig' or > >> 'make allmodconfig' fills the screen with warnings that were not > >> detected before. Given that we are close to the release now, disable the > >> warnings temporarily and deal with them after 2.6.36. > >> > >> Signed-off-by: Michal Marek <mmarek@suse.cz> > > > > Acked-by: Catalin Marinas <catalin.marinas@arm.com> > > Thanks, but I already pushed it on Saturday. The good news is that Linus > did pull from me, so 2.6.36 will have this. Was it disabled (i.e., this patch applied) in linux-next 20101011? Seems to be -- I see no warnings. Can you undo that now so that warnings are back, please? --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-10-11 21:59 ` Randy Dunlap @ 2010-10-12 13:19 ` Michal Marek 2010-10-29 0:37 ` Stephen Rothwell 0 siblings, 1 reply; 20+ messages in thread From: Michal Marek @ 2010-10-12 13:19 UTC (permalink / raw) To: randy.dunlap Cc: catalin.marinas, linux-kbuild, sfr, linux-next, linux-kernel, lacombar, xiyou.wangcong This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution. Signed-off-by: Michal Marek <mmarek@suse.cz> --- scripts/kconfig/symbol.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index cb00568..c0efe10 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -350,7 +350,6 @@ void sym_calc_value(struct symbol *sym) } } calc_newval: -#if 0 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { fprintf(stderr, "warning: ("); expr_fprint(sym->rev_dep.expr, stderr); @@ -359,7 +358,6 @@ void sym_calc_value(struct symbol *sym) expr_fprint(sym->dir_dep.expr, stderr); fprintf(stderr, ")\n"); } -#endif newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); } if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) -- 1.7.1 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-10-12 13:19 ` [PATCH] Revert "kconfig: Temporarily disable dependency warnings" Michal Marek @ 2010-10-29 0:37 ` Stephen Rothwell 2010-11-22 0:48 ` Stephen Rothwell 0 siblings, 1 reply; 20+ messages in thread From: Stephen Rothwell @ 2010-10-29 0:37 UTC (permalink / raw) To: Michal Marek Cc: randy.dunlap, catalin.marinas, linux-kbuild, linux-next, linux-kernel, lacombar, xiyou.wangcong [-- Attachment #1: Type: text/plain, Size: 470 bytes --] On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <mmarek@suse.cz> wrote: > > This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution. I was hoping that we would have the number of these warnings down to something reasonable before this revert made it into Linus' tree ... I guess fixing the V4L stuff will become a bit more urgent, now :-) -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-10-29 0:37 ` Stephen Rothwell @ 2010-11-22 0:48 ` Stephen Rothwell 2010-11-22 1:44 ` Randy Dunlap 2010-11-22 1:58 ` Arnaud Lacombe 0 siblings, 2 replies; 20+ messages in thread From: Stephen Rothwell @ 2010-11-22 0:48 UTC (permalink / raw) To: Michal Marek Cc: randy.dunlap, catalin.marinas, linux-kbuild, linux-next, linux-kernel, lacombar, xiyou.wangcong, Mauro Carvalho Chehab [-- Attachment #1: Type: text/plain, Size: 734 bytes --] On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <mmarek@suse.cz> wrote: > > > > This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution. > > I was hoping that we would have the number of these warnings down to > something reasonable before this revert made it into Linus' tree ... > > I guess fixing the V4L stuff will become a bit more urgent, now :-) Is there any chance that the V4L kconfig warnings will be fixed? It is quite irritating for those of us who do allmodconfig (and allyesconfig) builds ... -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-22 0:48 ` Stephen Rothwell @ 2010-11-22 1:44 ` Randy Dunlap 2010-11-22 1:58 ` Arnaud Lacombe 1 sibling, 0 replies; 20+ messages in thread From: Randy Dunlap @ 2010-11-22 1:44 UTC (permalink / raw) To: Stephen Rothwell Cc: Michal Marek, catalin.marinas, linux-kbuild, linux-next, linux-kernel, lacombar, xiyou.wangcong, Mauro Carvalho Chehab On Mon, 22 Nov 2010 11:48:01 +1100 Stephen Rothwell wrote: > On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > > > On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <mmarek@suse.cz> wrote: > > > > > > This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution. > > > > I was hoping that we would have the number of these warnings down to > > something reasonable before this revert made it into Linus' tree ... > > > > I guess fixing the V4L stuff will become a bit more urgent, now :-) > > Is there any chance that the V4L kconfig warnings will be fixed? It is > quite irritating for those of us who do allmodconfig (and allyesconfig) > builds ... Yes, the MEDIA kconfig warnings are irritating. I just use "grep -v MEDIA" to ignore them. :) I haven't seen any email from Michal for more than one week. Hopefully he will be back soon. There are patches from Arnaud Lacombe <lacombar@gmail.com> to introduce a VISIBLE property for kconfig symbols (this fixes the MEDIA kconfig warnings), but Michal has not commented on them. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-22 0:48 ` Stephen Rothwell 2010-11-22 1:44 ` Randy Dunlap @ 2010-11-22 1:58 ` Arnaud Lacombe 2010-11-22 2:09 ` Randy Dunlap 2010-11-22 2:57 ` Stephen Rothwell 1 sibling, 2 replies; 20+ messages in thread From: Arnaud Lacombe @ 2010-11-22 1:58 UTC (permalink / raw) To: Stephen Rothwell Cc: Michal Marek, randy.dunlap, catalin.marinas, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab Hi, On Sun, Nov 21, 2010 at 7:48 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: > On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote: >> >> On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <mmarek@suse.cz> wrote: >> > >> > This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution. >> >> I was hoping that we would have the number of these warnings down to >> something reasonable before this revert made it into Linus' tree ... >> >> I guess fixing the V4L stuff will become a bit more urgent, now :-) > > Is there any chance that the V4L kconfig warnings will be fixed? It is > quite irritating for those of us who do allmodconfig (and allyesconfig) > builds ... > There is 2 patches which fixes that by adding to the kconfig language a "visible" property to menus, 1 revert of "another" solution (which works but does not scale) and 2 patch which makes usage of the new property. Ack-ed and complemented by Mauro, but still waiting review/blessing by Michal. The core change is available here: https://patchwork.kernel.org/patch/306412/ Alternatively, if you don't care about the menu structure, Randy proposed a one-liner. - Arnaud ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-22 1:58 ` Arnaud Lacombe @ 2010-11-22 2:09 ` Randy Dunlap 2010-11-22 2:17 ` Arnaud Lacombe 2010-11-22 2:57 ` Stephen Rothwell 1 sibling, 1 reply; 20+ messages in thread From: Randy Dunlap @ 2010-11-22 2:09 UTC (permalink / raw) To: Arnaud Lacombe Cc: Stephen Rothwell, Michal Marek, catalin.marinas, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe wrote: > Hi, > > On Sun, Nov 21, 2010 at 7:48 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote: > >> > >> On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <mmarek@suse.cz> wrote: > >> > > >> > This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution. > >> > >> I was hoping that we would have the number of these warnings down to > >> something reasonable before this revert made it into Linus' tree ... > >> > >> I guess fixing the V4L stuff will become a bit more urgent, now :-) > > > > Is there any chance that the V4L kconfig warnings will be fixed? It is > > quite irritating for those of us who do allmodconfig (and allyesconfig) > > builds ... > > > There is 2 patches which fixes that by adding to the kconfig language > a "visible" property to menus, 1 revert of "another" solution (which > works but does not scale) and 2 patch which makes usage of the new > property. Ack-ed and complemented by Mauro, but still waiting > review/blessing by Michal. > > The core change is available here: https://patchwork.kernel.org/patch/306412/ > > Alternatively, if you don't care about the menu structure, Randy > proposed a one-liner. which Mauro nacked. I don't care about the menu structure, I just want to eliminate the warnings. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-22 2:09 ` Randy Dunlap @ 2010-11-22 2:17 ` Arnaud Lacombe 0 siblings, 0 replies; 20+ messages in thread From: Arnaud Lacombe @ 2010-11-22 2:17 UTC (permalink / raw) To: Randy Dunlap Cc: Stephen Rothwell, Michal Marek, catalin.marinas, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab Hi, On Sun, Nov 21, 2010 at 9:09 PM, Randy Dunlap <randy.dunlap@oracle.com> wrote: > On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe wrote: >> [..] >> Alternatively, if you don't care about the menu structure, Randy >> proposed a one-liner. > > which Mauro nacked. > > I don't care about the menu structure, I just want to eliminate the > warnings. > Yes, I know. I just wanted to raise the point "if you don't care about the menu structure, a oneliner can do the job". - Arnaud ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-22 1:58 ` Arnaud Lacombe 2010-11-22 2:09 ` Randy Dunlap @ 2010-11-22 2:57 ` Stephen Rothwell 2010-11-22 13:26 ` Mauro Carvalho Chehab 2010-11-25 17:16 ` Arnaud Lacombe 1 sibling, 2 replies; 20+ messages in thread From: Stephen Rothwell @ 2010-11-22 2:57 UTC (permalink / raw) To: Arnaud Lacombe Cc: Michal Marek, randy.dunlap, catalin.marinas, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab [-- Attachment #1: Type: text/plain, Size: 742 bytes --] Hi, On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <lacombar@gmail.com> wrote: > > There is 2 patches which fixes that by adding to the kconfig language > a "visible" property to menus, 1 revert of "another" solution (which > works but does not scale) and 2 patch which makes usage of the new > property. Ack-ed and complemented by Mauro, but still waiting > review/blessing by Michal. > > The core change is available here: https://patchwork.kernel.org/patch/306412/ > > Alternatively, if you don't care about the menu structure, Randy > proposed a one-liner. OK, good to know it is being worked on. Thanks. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-22 2:57 ` Stephen Rothwell @ 2010-11-22 13:26 ` Mauro Carvalho Chehab 2010-11-25 17:16 ` Arnaud Lacombe 1 sibling, 0 replies; 20+ messages in thread From: Mauro Carvalho Chehab @ 2010-11-22 13:26 UTC (permalink / raw) To: Stephen Rothwell Cc: Arnaud Lacombe, Michal Marek, randy.dunlap, catalin.marinas, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong Em 22-11-2010 00:57, Stephen Rothwell escreveu: > Hi, > > On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <lacombar@gmail.com> wrote: >> >> There is 2 patches which fixes that by adding to the kconfig language >> a "visible" property to menus, 1 revert of "another" solution (which >> works but does not scale) and 2 patch which makes usage of the new >> property. Ack-ed and complemented by Mauro, but still waiting >> review/blessing by Michal. >> >> The core change is available here: https://patchwork.kernel.org/patch/306412/ >> >> Alternatively, if you don't care about the menu structure, Randy >> proposed a one-liner. > > OK, good to know it is being worked on. Thanks. > I added a branch on my tree with Arnaud patches and my additional patch, at: http://git.kernel.org/?p=linux/kernel/git/mchehab/linux-next.git;a=shortlog;h=refs/heads/kconfig_fixes This way, we avoid loosing the patches, and people might use it to remove those warnings. Cheers, Mauro PS.: I don't intend to merge them on my master branch, as the proper way is to submit it to 2.6.37 via Michal's tree. Also, it will may cause conflicts on linux-next, due to the bison-generated files. ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-22 2:57 ` Stephen Rothwell 2010-11-22 13:26 ` Mauro Carvalho Chehab @ 2010-11-25 17:16 ` Arnaud Lacombe 2010-11-25 17:43 ` Catalin Marinas 2010-11-25 19:26 ` Mauro Carvalho Chehab 1 sibling, 2 replies; 20+ messages in thread From: Arnaud Lacombe @ 2010-11-25 17:16 UTC (permalink / raw) To: Stephen Rothwell Cc: Michal Marek, randy.dunlap, catalin.marinas, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab Hi, On Sun, Nov 21, 2010 at 9:57 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: > Hi, > > On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <lacombar@gmail.com> wrote: >> >> There is 2 patches which fixes that by adding to the kconfig language >> a "visible" property to menus, 1 revert of "another" solution (which >> works but does not scale) and 2 patch which makes usage of the new >> property. Ack-ed and complemented by Mauro, but still waiting >> review/blessing by Michal. >> >> The core change is available here: https://patchwork.kernel.org/patch/306412/ >> >> Alternatively, if you don't care about the menu structure, Randy >> proposed a one-liner. > > OK, good to know it is being worked on. Thanks. > FYI, I withdrawn the patches and ask for them not to be merged[0], as there is a clear lack of interest to see this issue resolved. Mauro, may I ask you to remove my patches from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-next.git kconfig_fixes please ? Thanks, - Arnaud [0]: cf. Message-id <AANLkTi=WS6cveqzxVmwC2wucaCpEJJLHXx0A8XbAChRb@mail.gmail.com> on linux-kbuild@ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-25 17:16 ` Arnaud Lacombe @ 2010-11-25 17:43 ` Catalin Marinas 2010-11-25 18:09 ` Arnaud Lacombe 2010-11-25 19:26 ` Mauro Carvalho Chehab 1 sibling, 1 reply; 20+ messages in thread From: Catalin Marinas @ 2010-11-25 17:43 UTC (permalink / raw) To: Arnaud Lacombe Cc: Stephen Rothwell, Michal Marek, randy.dunlap, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab On 25 November 2010 17:16, Arnaud Lacombe <lacombar@gmail.com> wrote: > On Sun, Nov 21, 2010 at 9:57 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: >> On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <lacombar@gmail.com> wrote: >>> There is 2 patches which fixes that by adding to the kconfig language >>> a "visible" property to menus, 1 revert of "another" solution (which >>> works but does not scale) and 2 patch which makes usage of the new >>> property. Ack-ed and complemented by Mauro, but still waiting >>> review/blessing by Michal. >>> >>> The core change is available here: https://patchwork.kernel.org/patch/306412/ >>> >>> Alternatively, if you don't care about the menu structure, Randy >>> proposed a one-liner. >> >> OK, good to know it is being worked on. Thanks. >> > FYI, I withdrawn the patches and ask for them not to be merged[0], as > there is a clear lack of interest to see this issue resolved. > > Mauro, may I ask you to remove my patches from: > > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-next.git > kconfig_fixes I still think the patches are useful. The fact that you didn't get any comments from Michal doesn't mean that they are a bad idea, just lack of time on the kbuild maintainer's side. It may have been a better idea to cc LKML as well when you posted them (I for one don't follow the kbuild list). As for waiting times, I had patches taking even two years to get merged. And my kbuild patch which actually introduced such warnings had been around for nearly a year. Now, commenting on your patches, you added a new statement, 'visible if...' for menus. Can we not change it to something like: -menu "I2C Algorithms" - depends on !I2C_HELPER_AUTO +menu "I2C Algorithms" if !I2C_HELPER_AUTO -- Catalin ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-25 17:43 ` Catalin Marinas @ 2010-11-25 18:09 ` Arnaud Lacombe 2010-11-26 12:33 ` Catalin Marinas 0 siblings, 1 reply; 20+ messages in thread From: Arnaud Lacombe @ 2010-11-25 18:09 UTC (permalink / raw) To: Catalin Marinas Cc: Stephen Rothwell, Michal Marek, randy.dunlap, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab Hi, On Thu, Nov 25, 2010 at 12:43 PM, Catalin Marinas <catalin.marinas@arm.com> wrote: > Now, commenting on your patches, you added a new statement, 'visible > if...' for menus. Can we not change it to something like: > > -menu "I2C Algorithms" > - depends on !I2C_HELPER_AUTO > +menu "I2C Algorithms" if !I2C_HELPER_AUTO > no because if_expr are translated internally in term of dependency, which we don't want. - Arnaud ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-25 18:09 ` Arnaud Lacombe @ 2010-11-26 12:33 ` Catalin Marinas 2010-11-26 13:33 ` Michal Marek 0 siblings, 1 reply; 20+ messages in thread From: Catalin Marinas @ 2010-11-26 12:33 UTC (permalink / raw) To: Arnaud Lacombe Cc: Stephen Rothwell, Michal Marek, randy.dunlap, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab On 25 November 2010 18:09, Arnaud Lacombe <lacombar@gmail.com> wrote: > On Thu, Nov 25, 2010 at 12:43 PM, Catalin Marinas > <catalin.marinas@arm.com> wrote: >> Now, commenting on your patches, you added a new statement, 'visible >> if...' for menus. Can we not change it to something like: >> >> -menu "I2C Algorithms" >> - depends on !I2C_HELPER_AUTO >> +menu "I2C Algorithms" if !I2C_HELPER_AUTO >> > no because if_expr are translated internally in term of dependency, > which we don't want. That's correct but I was wondering whether we could change this kind of 'if' to a visibility attribute or a weaker dependency and avoid 'select' warnings. This way we wouldn't introduce new keywords to the kconfig language. -- Catalin ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-26 12:33 ` Catalin Marinas @ 2010-11-26 13:33 ` Michal Marek 2010-11-26 14:50 ` Catalin Marinas 0 siblings, 1 reply; 20+ messages in thread From: Michal Marek @ 2010-11-26 13:33 UTC (permalink / raw) To: Catalin Marinas Cc: Arnaud Lacombe, Stephen Rothwell, randy.dunlap, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab On 26.11.2010 13:33, Catalin Marinas wrote: > On 25 November 2010 18:09, Arnaud Lacombe <lacombar@gmail.com> wrote: >> On Thu, Nov 25, 2010 at 12:43 PM, Catalin Marinas >> <catalin.marinas@arm.com> wrote: >>> Now, commenting on your patches, you added a new statement, 'visible >>> if...' for menus. Can we not change it to something like: >>> >>> -menu "I2C Algorithms" >>> - depends on !I2C_HELPER_AUTO >>> +menu "I2C Algorithms" if !I2C_HELPER_AUTO >>> >> no because if_expr are translated internally in term of dependency, >> which we don't want. > > That's correct but I was wondering whether we could change this kind > of 'if' to a visibility attribute or a weaker dependency and avoid > 'select' warnings. This way we wouldn't introduce new keywords to the > kconfig language. I quite like the "visible if" notation because it makes it explicit that it only affects the display of the menu and does not add any dependency to the data. Michal ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-26 13:33 ` Michal Marek @ 2010-11-26 14:50 ` Catalin Marinas 0 siblings, 0 replies; 20+ messages in thread From: Catalin Marinas @ 2010-11-26 14:50 UTC (permalink / raw) To: Michal Marek Cc: Arnaud Lacombe, Stephen Rothwell, randy.dunlap, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong, Mauro Carvalho Chehab On 26 November 2010 13:33, Michal Marek <mmarek@suse.cz> wrote: > On 26.11.2010 13:33, Catalin Marinas wrote: >> On 25 November 2010 18:09, Arnaud Lacombe <lacombar@gmail.com> wrote: >>> On Thu, Nov 25, 2010 at 12:43 PM, Catalin Marinas >>> <catalin.marinas@arm.com> wrote: >>>> Now, commenting on your patches, you added a new statement, 'visible >>>> if...' for menus. Can we not change it to something like: >>>> >>>> -menu "I2C Algorithms" >>>> - depends on !I2C_HELPER_AUTO >>>> +menu "I2C Algorithms" if !I2C_HELPER_AUTO >>>> >>> no because if_expr are translated internally in term of dependency, >>> which we don't want. >> >> That's correct but I was wondering whether we could change this kind >> of 'if' to a visibility attribute or a weaker dependency and avoid >> 'select' warnings. This way we wouldn't introduce new keywords to the >> kconfig language. > > I quite like the "visible if" notation because it makes it explicit that > it only affects the display of the menu and does not add any dependency > to the data. That's fine by me. If you like this feature then it could get upstream :) -- Catalin ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" 2010-11-25 17:16 ` Arnaud Lacombe 2010-11-25 17:43 ` Catalin Marinas @ 2010-11-25 19:26 ` Mauro Carvalho Chehab 1 sibling, 0 replies; 20+ messages in thread From: Mauro Carvalho Chehab @ 2010-11-25 19:26 UTC (permalink / raw) To: Arnaud Lacombe Cc: Stephen Rothwell, Michal Marek, randy.dunlap, catalin.marinas, linux-kbuild, linux-next, linux-kernel, xiyou.wangcong Em 25-11-2010 15:16, Arnaud Lacombe escreveu: > Hi, > > On Sun, Nov 21, 2010 at 9:57 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: >> Hi, >> >> On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <lacombar@gmail.com> wrote: >>> >>> There is 2 patches which fixes that by adding to the kconfig language >>> a "visible" property to menus, 1 revert of "another" solution (which >>> works but does not scale) and 2 patch which makes usage of the new >>> property. Ack-ed and complemented by Mauro, but still waiting >>> review/blessing by Michal. >>> >>> The core change is available here: https://patchwork.kernel.org/patch/306412/ >>> >>> Alternatively, if you don't care about the menu structure, Randy >>> proposed a one-liner. >> >> OK, good to know it is being worked on. Thanks. >> > FYI, I withdrawn the patches and ask for them not to be merged[0], as > there is a clear lack of interest to see this issue resolved. > > Mauro, may I ask you to remove my patches from: > > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-next.git > kconfig_fixes > > please ? I prefer to have them there, while the issue remains at .37/-next builds. It is a pain to see all those warnings polluting my console, every time I recompile things, and I can't simply do a grep to discard MEDIA warnings/errors (as someone proposed), as this may prevent me to get real errors at media builds. The better is to give more time to Marek/Sam to review your patch series and ack or, if they don't agree, to send an alternative patchset to fix the issues or to revert the changeset that started to produce those troubles. Cheers, Mauro ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2010-11-26 14:50 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20101008150343.GF4088@hack>
2010-10-09 21:45 ` [PATCH] kconfig: Temporarily disable dependency warnings Michal Marek
2010-10-11 15:23 ` Catalin Marinas
2010-10-11 21:46 ` Michal Marek
2010-10-11 21:59 ` Randy Dunlap
2010-10-12 13:19 ` [PATCH] Revert "kconfig: Temporarily disable dependency warnings" Michal Marek
2010-10-29 0:37 ` Stephen Rothwell
2010-11-22 0:48 ` Stephen Rothwell
2010-11-22 1:44 ` Randy Dunlap
2010-11-22 1:58 ` Arnaud Lacombe
2010-11-22 2:09 ` Randy Dunlap
2010-11-22 2:17 ` Arnaud Lacombe
2010-11-22 2:57 ` Stephen Rothwell
2010-11-22 13:26 ` Mauro Carvalho Chehab
2010-11-25 17:16 ` Arnaud Lacombe
2010-11-25 17:43 ` Catalin Marinas
2010-11-25 18:09 ` Arnaud Lacombe
2010-11-26 12:33 ` Catalin Marinas
2010-11-26 13:33 ` Michal Marek
2010-11-26 14:50 ` Catalin Marinas
2010-11-25 19:26 ` Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox