linux-next: build warnings after merge of the kbuild-current tree
Subsystems (3)
Hi Michal,
After merging the kbuild-current tree, today's (and yesterday's) linux-next build (x86_64 allmodconfig and other builds as well) produced these warnings:
warning: (IEEE1394_PCILYNX && (PCI || BROKEN) && PCI && IEEE1394 && I2C || SFC && NETDEVICES && NETDEV_10000 && PCI && INET || I2C_VIA && I2C && PCI && EXPERIMENTAL || I2C_HYDRA && I2C && PCI && PPC_CHRP && EXPERIMENTAL || I2C_GPIO && I2C && GENERIC_GPIO || I2C_IXP2000 && I2C && ARCH_IXP2000 || I2C_SIMTEC && I2C || I2C_VERSATILE && I2C && (ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS) || I2C_PARPORT && I2C && PARPORT || I2C_PARPORT_LIGHT && I2C || I2C_ACORN && I2C && ARCH_ACORN || SCx200_I2C && I2C && SCx200_GPIO || VIDEO_BT848 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT && VIDEO_IR || VIDEO_CX88 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_DEV && PCI && I2C && INPUT && VIDEO_IR || VIDEO_CX23885 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && IR_CORE || VIDEO_AU0828 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && I2C && INPUT && DVB_CORE && USB && VIDEO_V4L2 || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR || VIDEO_CX18 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && PCI && I2C && EXPERIMENTAL && INPUT && VIDEO_IR || VIDEO_SAA7164 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && PCI && I2C || DVB_PLUTO2 && MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && PCI && I2C || DRM && HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU || FB_DDC && HAS_IOMEM && FB || FB_VIA && HAS_IOMEM && FB && PCI && X86 || VIDEO_CX25821 && STAGING && !STAGING_EXCLUDE_BUILD && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT) selects I2C_ALGOBIT which has unmet direct dependencies (I2C && !I2C_HELPER_AUTO)
warning: (I2C_PCA_PLATFORM && I2C || I2C_PCA_ISA && I2C && ISA) selects I2C_ALGOPCA which has unmet direct dependencies (I2C && !I2C_HELPER_AUTO)
warning: (VIDEO_BT848 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_TVAUDIO which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_BT848 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_TDA7432 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_MXB && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && PCI && VIDEO_V4L2 && I2C && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_TDA9840 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && !VIDEO_HELPER_CHIPS_AUTO && I2C)
warning: (VIDEO_MXB && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && PCI && VIDEO_V4L2 && I2C && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_TEA6415C which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && !VIDEO_HELPER_CHIPS_AUTO && I2C)
warning: (VIDEO_MXB && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && PCI && VIDEO_V4L2 && I2C && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_TEA6420 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && !VIDEO_HELPER_CHIPS_AUTO && I2C)
warning: (VIDEO_BT848 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR || VIDEO_PVRUSB2 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && V4L_USB_DRIVERS && USB && VIDEO_V4L2 && I2C && VIDEO_MEDIA || VIDEO_EM28XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_MSP3400 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_CX18 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && PCI && I2C && EXPERIMENTAL && INPUT && VIDEO_IR) selects VIDEO_CS5345 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR || VIDEO_PVRUSB2 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && V4L_USB_DRIVERS && USB && VIDEO_V4L2 && I2C && VIDEO_MEDIA) selects VIDEO_CS53L32A which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR) selects VIDEO_M52790 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_CX88 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_DEV && PCI && I2C && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR || VIDEO_PVRUSB2 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && V4L_USB_DRIVERS && USB && VIDEO_V4L2 && I2C && VIDEO_MEDIA) selects VIDEO_WM8775 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR) selects VIDEO_WM8739 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR) selects VIDEO_VP27SMPX which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_BT848 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO || VIDEO_SAA7134 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_DEV && PCI && I2C && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_SAA6588 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_LML33 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_BT819 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_LML33 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO || VIDEO_ZORAN_AVS6EYES && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && EXPERIMENTAL && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_BT856 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_AVS6EYES && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && EXPERIMENTAL && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_BT866 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_AVS6EYES && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && EXPERIMENTAL && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_KS0127 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_CAFE_CCIC && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && PCI && I2C && VIDEO_V4L2) selects VIDEO_OV7670 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && I2C && VIDEO_V4L2)
warning: (VIDEO_EM28XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && I2C && VIDEO_V4L2)
warning: (VIDEO_ZORAN_DC10 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_SAA7110 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_BUZ && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO || VIDEO_ZORAN_LML33R10 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO || VIDEO_MXB && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && PCI && VIDEO_V4L2 && I2C && VIDEO_HELPER_CHIPS_AUTO || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR || VIDEO_PVRUSB2 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && V4L_USB_DRIVERS && USB && VIDEO_V4L2 && I2C && VIDEO_MEDIA || VIDEO_EM28XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO || VIDEO_USBVISION && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && V4L_USB_DRIVERS && USB && I2C && VIDEO_V4L2 && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_SAA711X which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR) selects VIDEO_SAA717X which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_EM28XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT && VIDEO_IR && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_TVP5150 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_DC30 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_VPX3220 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_CX23885 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && IR_CORE || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR || VIDEO_PVRUSB2 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && V4L_USB_DRIVERS && USB && VIDEO_V4L2 && I2C && VIDEO_MEDIA || VIDEO_CX231XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT && VIDEO_IR || VIDEO_CX25821 && STAGING && !STAGING_EXCLUDE_BUILD && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT) selects VIDEO_CX25840 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_CX88_BLACKBIRD && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_CX88 || VIDEO_CX23885 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && IR_CORE || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR || VIDEO_CX18 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && PCI && I2C && EXPERIMENTAL && INPUT && VIDEO_IR || VIDEO_PVRUSB2 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && V4L_USB_DRIVERS && USB && VIDEO_V4L2 && I2C && VIDEO_MEDIA || VIDEO_CX25821 && STAGING && !STAGING_EXCLUDE_BUILD && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT) selects VIDEO_CX2341X which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && VIDEO_V4L2_COMMON)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR) selects VIDEO_SAA7127 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_BUZ && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_SAA7185 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_LML33R10 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_ADV7170 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_ZORAN_DC30 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN && VIDEO_HELPER_CHIPS_AUTO || VIDEO_ZORAN_DC10 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_ZORAN_ZR36060 && VIDEO_HELPER_CHIPS_AUTO) selects VIDEO_ADV7175 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR) selects VIDEO_UPD64031A which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
warning: (VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT && VIDEO_IR) selects VIDEO_UPD64083 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && !VIDEO_HELPER_CHIPS_AUTO && VIDEO_V4L2 && I2C)
After reverting commit ff5ff6060bf880aac233e68dd666cbe9e39ec620 ("kconfig: delay symbol direct dependency initialization") it produces no such warnings.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 6 lines · Stephen Rothwell
Hi Michal,
After merging the kbuild-current tree, today's (and yesterday's) linux-next build (
x86_64allmodconfig and other builds as well) produced these warnings:
Quoted 7 lines
warning: [...] selects
I2C_ALGOBITwhich has unmet direct dependencies (I2C && !I2C_HELPER_AUTO)
[...]
warning: [...] selectsVIDEO_TVAUDIOwhich has unmet direct dependencies (MEDIA_SUPPORT&&VIDEO_CAPTURE_DRIVERS&& !VIDEO_HELPER_CHIPS_AUTO &&VIDEO_V4L2&& I2C)After reverting commit
ff5ff6060bf880aac233e68dd666cbe9e39ec620("kconfig: delay symbol direct dependency initialization") it produces no such warnings.
I'm aware of them. I'm talking with Jean Delvare about fixing the I2C warnings, see http://lkml.org/lkml/2010/10/5/83. The drivers/media/video warnings will need the same care. I don't know if we manage to fix these in time, so maybe the kconfig fix will have to way for 2.6.36.1.
Michal
Quoted 9 lines · Michal Marek
Quoted 8 lines · Stephen Rothwell
After merging the kbuild-current tree, today's (and yesterday's) linux-next build (
x86_64allmodconfig and other builds as well) produced these warnings:warning: [...] selects
I2C_ALGOBITwhich has unmet direct dependencies (I2C && !I2C_HELPER_AUTO)
[...]
warning: [...] selectsVIDEO_TVAUDIOwhich has unmet direct dependencies (MEDIA_SUPPORT&&VIDEO_CAPTURE_DRIVERS&& !VIDEO_HELPER_CHIPS_AUTO &&VIDEO_V4L2&& I2C)
Quoted 8 lines
Quoted 3 lines
After reverting commit
ff5ff6060bf880aac233e68dd666cbe9e39ec620("kconfig: delay symbol direct dependency initialization") it produces no such warnings.I'm aware of them. I'm talking with Jean Delvare about fixing the I2C warnings, see http://lkml.org/lkml/2010/10/5/83. The
drivers/media/videowarnings will need the same care. I don't know if we manage to fix these in time, so maybe the kconfig fix will have to way for 2.6.36.1.
The kconfig commit ff5ff6060 fixes a bug with commit 246cf9c26 which was using some structures after they were freed. Because of the bug, it just happened that it wasn't showing these kconfig warnings. A worst thing is kbuild segfaulting or getting into an infinite loop (as reported/fixed by Arnaud).
I think the above commit is still needed before 2.6.36 and maybe push a drivers/media/video warnings in 2.6.36.1.
Thanks.
Signature · 1 line
Catalin
Quoted 19 lines · Catalin Marinas
Quoted 9 lines · Michal Marek
Quoted 8 lines · Stephen Rothwell
After merging the kbuild-current tree, today's (and yesterday's) linux-next build (
x86_64allmodconfig and other builds as well) produced these warnings:warning: [...] selects
I2C_ALGOBITwhich has unmet direct dependencies (I2C && !I2C_HELPER_AUTO)
[...]
warning: [...] selectsVIDEO_TVAUDIOwhich has unmet direct dependencies (MEDIA_SUPPORT&&VIDEO_CAPTURE_DRIVERS&& !VIDEO_HELPER_CHIPS_AUTO &&VIDEO_V4L2&& I2C)Quoted 8 lines
Quoted 3 lines
After reverting commit
ff5ff6060bf880aac233e68dd666cbe9e39ec620("kconfig: delay symbol direct dependency initialization") it produces no such warnings.I'm aware of them. I'm talking with Jean Delvare about fixing the I2C warnings, see http://lkml.org/lkml/2010/10/5/83. The
drivers/media/videowarnings will need the same care. I don't know if we manage to fix these in time, so maybe the kconfig fix will have to way for 2.6.36.1.
Quoted 8 lines
The kconfig commit
ff5ff6060fixes a bug with commit246cf9c26which was using some structures after they were freed. Because of the bug, it just happened that it wasn't showing these kconfig warnings. A worst thing is kbuild segfaulting or getting into an infinite loop (as reported/fixed by Arnaud).I think the above commit is still needed before 2.6.36 and maybe push a
drivers/media/videowarnings in 2.6.36.1.
So my approach would be to disable the kconfig warnings *temporarily* for 2.6.36-final. The warnings have done a good job already during the 2.6.36-rc phase and will serve us after 2.6.36 again, just the new load of warnings that every user is going to see is not really desirable at this point in time :-|.
Opinions?
Michal
Quoted 1 line
From
ca22d6b4c7c26a8ff9092036a9524bc5ba817277Mon Sep 17 00:00:00 2001
From: Michal Marek <[email protected]>
Date: Fri, 8 Oct 2010 16:40:27 +0200
Subject: [PATCH] kconfig: Temporarily disable dependency warnings
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.
scripts/kconfig/symbol.c +1 -1
@@ -350,7 +350,7 @@ void sym_calc_value(struct symbol *sym) } } calc_newval: -if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { +if (0 && 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 (",
Quoted 18 lines · Michal Marek
From
ca22d6b4c7c26a8ff9092036a9524bc5ba817277Mon Sep 17 00:00:00 2001
From: Michal Marek <[email protected]>
Date: Fri, 8 Oct 2010 16:40:27 +0200
Subject: [PATCH] kconfig: Temporarily disable dependency warningsAfter 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 <[email protected]>scripts/kconfig/symbol.c +0
-0
scripts/kconfig/symbol.c void sym_calc_value(struct symbol *sym) · line 356
Quoted 8 lines
scripts/kconfig/symbol.c +1
-1@@ -350,7 +350,7 @@ void sym_calc_value(struct symbol *sym) } } calc_newval: -if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { +if (0 && 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 (",
Well, this is an odd way to comment a block of code out, usually we use #ifdef 0 instead. :)
Signature · 1 line
Live like a child, think like the god.
Quoted 14 lines · Américo Wang
Quoted 13 lines · Michal Marek
From
ca22d6b4c7c26a8ff9092036a9524bc5ba817277Mon Sep 17 00:00:00 2001
From: Michal Marek <[email protected]>
Date: Fri, 8 Oct 2010 16:40:27 +0200
Subject: [PATCH] kconfig: Temporarily disable dependency warningsAfter 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 <[email protected]>
Quoted 16 lines
scripts/kconfig/symbol.c void sym_calc_value(struct symbol *sym) · line 356
Quoted 13 lines
scripts/kconfig/symbol.c +1
-1@@ -350,7 +350,7 @@ void sym_calc_value(struct symbol *sym) } } calc_newval: -if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { +if (0 && 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 (",Well, this is an odd way to comment a block of code out, usually we use #ifdef 0 instead. :)
Right, but that's a tiny technical detail now :).
Michal
PATCH 1/1 kconfig: Temporarily disable dependency warnings
In reply to Américo WangAfter 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.
--- scripts/kconfig/symbol.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
scripts/kconfig/symbol.c +2 -0
@@ -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;
Signature · 1 line
1.7.1
Re: [PATCH] kconfig: Temporarily disable dependency warnings
Quoted 6 lines · Michal Marek
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 <[email protected]>
Re: [PATCH] kconfig: Temporarily disable dependency warnings
Quoted 9 lines · Catalin Marinas
Quoted 6 lines · Michal Marek
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 <[email protected]>Acked-by Catalin Marinas <[email protected]>
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
Re: [PATCH] kconfig: Temporarily disable dependency warnings
Quoted 7 lines · On Mon, 11 Oct 2010 23:46:48 +0200 Michal Marek wrote:
Quoted 6 lines · Catalin Marinas
Quoted 5 lines · Michal Marek
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.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Michal Marek <[email protected]>Acked-by Catalin Marinas <[email protected]>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 ***
PATCH 1/1 Revert "kconfig: Temporarily disable dependency warnings"
This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution.
--- scripts/kconfig/symbol.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
scripts/kconfig/symbol.c +0 -2
@@ -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 )
Signature · 1 line
1.7.1
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 2 lines · On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <[email protected]> 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 :-)
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 9 lines · On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <[email protected]>…
Quoted 2 lines · On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <[email protected]> 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 ...
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 6 lines · On Mon, 22 Nov 2010 11:48:01 +1100 Stephen Rothwell wrote:
Quoted 5 lines · On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <[email protected]>…
Quoted 2 lines · On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <[email protected]> wrote:
This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution.
Quoted 8 lines
Quoted 4 lines
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 <[email protected]> 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 ***
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
In reply to Stephen RothwellHi,
Quoted 6 lines · Stephen Rothwell
Quoted 5 lines · On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <[email protected]>…
Quoted 2 lines · On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <[email protected]> wrote:
This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution.
Quoted 9 lines
Quoted 4 lines
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 24 lines · On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe wrote:
Hi,
Quoted 6 lines · Stephen Rothwell
Quoted 5 lines · On Fri, 29 Oct 2010 11:37:31 +1100 Stephen Rothwell <[email protected]>…
Quoted 2 lines · On Tue, 12 Oct 2010 15:19:46 +0200 Michal Marek <[email protected]> wrote:
This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution.
Quoted 9 lines
Quoted 4 lines
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.
Quoted 4 lines
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 *** --
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Hi,
Quoted 10 lines · Randy Dunlap
Quoted 3 lines · 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
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
In reply to Arnaud LacombeHi,
Quoted 11 lines · On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <[email protected]> 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.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Em 22-11-2010 00:57, Stephen Rothwell escreveu:
Quoted 10 lines
Hi,
Quoted 7 lines · On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <[email protected]> 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.
Quoted 7 lines
Quoted 4 lines
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:
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.
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
In reply to Stephen RothwellHi,
Quoted 10 lines · Stephen Rothwell
Hi,
Quoted 7 lines · On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <[email protected]> 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.
Quoted 7 lines
Quoted 4 lines
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.gitkconfig_fixes
please ?
Thanks,
- Arnaud
[0]: cf. Message-id <[email protected]> on linux-kbuild@
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 15 lines · Arnaud Lacombe
Quoted 7 lines · Stephen Rothwell
Quoted 6 lines · On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <[email protected]> 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.
Quoted 7 lines
Quoted 4 lines
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.
Quoted 7 lines
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.gitkconfig_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
Signature · 5 lines
Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Hi,
Review
Quoted 7 lines · Catalin Marinas
Now, commenting on your patches, you added a new statement, 'visible if...' for menus. Can we not change it to something like:
(quoted diff) +1
-2-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 11 lines · Arnaud Lacombe
Review
Quoted 7 lines · Catalin Marinas
Now, commenting on your patches, you added a new statement, 'visible if...' for menus. Can we not change it to something like:
(quoted diff) +1
-2-menu "I2C Algorithms" - depends on !I2C_HELPER_AUTO +menu "I2C Algorithms" if !I2C_HELPER_AUTOno because
if_exprare 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.
Signature · 5 lines
Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 13 lines · Catalin Marinas
Quoted 11 lines · Arnaud Lacombe
Review
Quoted 7 lines · Catalin Marinas
Now, commenting on your patches, you added a new statement, 'visible if...' for menus. Can we not change it to something like:
(quoted diff) +1
-2-menu "I2C Algorithms" - depends on !I2C_HELPER_AUTO +menu "I2C Algorithms" if !I2C_HELPER_AUTOno because
if_exprare translated internally in term of dependency, which we don't want.
Quoted 4 lines
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
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
Quoted 14 lines · Michal Marek
Quoted 13 lines · Catalin Marinas
Quoted 11 lines · Arnaud Lacombe
Review
Quoted 7 lines · Catalin Marinas
Now, commenting on your patches, you added a new statement, 'visible if...' for menus. Can we not change it to something like:
(quoted diff) +1
-2-menu "I2C Algorithms" - depends on !I2C_HELPER_AUTO +menu "I2C Algorithms" if !I2C_HELPER_AUTOno because
if_exprare translated internally in term of dependency, which we don't want.
Quoted 8 lines
Quoted 4 lines
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 :)
Signature · 1 line
Catalin
Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings"
In reply to Arnaud LacombeEm 25-11-2010 15:16, Arnaud Lacombe escreveu:
Quoted 23 lines
Hi,
Quoted 10 lines · Stephen Rothwell
Hi,
Quoted 7 lines · On Sun, 21 Nov 2010 20:58:54 -0500 Arnaud Lacombe <[email protected]> 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.
Quoted 7 lines
Quoted 4 lines
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.
Quoted 6 lines
Mauro, may I ask you to remove my patches from:
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-next.gitkconfig_fixesplease ?
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