linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* unmet direct dependencies in -next
@ 2015-08-09  9:40 Richard Weinberger
       [not found] ` <55C71FF5.1020902-/L3Ra7n9ekc@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Weinberger @ 2015-08-09  9:40 UTC (permalink / raw)
  To: linux-next-u79uwXL29TY76Z2rM5mHXA
  Cc: sameo-VuQAYsv1563Yd54FQh9/CA, lee.jones-QSEj5FYQhm4dnm+yROfE0A,
	Arnd Bergmann, yann.morin.1998-GANU6spQydw, linux-kbuild,
	Wolfram Sang, open list:I2C SUBSYSTEM, user-mode-linux-devel

Hi!

-next faces some build issues on UML because of unmet direct dependencies.
Mostly due to HAS_IOMEM and I2C.

warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)

For example MFD_SYSCON cannot build on UML as it depends on HAS_IOMEM.
While the symbol MFD_SYSCON has correct dependencies some users of MFD_SYSCON
just issue a "select MFD_SYSCON" and bypass the HAS_IOMEM dependency and causing the build to fail.

This brings me to a question on kconfig itself, wouldn't it be better to just disable a symbol if it has
unmet direct dependencies?

Thanks,
//richard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unmet direct dependencies in -next
       [not found] ` <55C71FF5.1020902-/L3Ra7n9ekc@public.gmane.org>
@ 2015-08-10  9:10   ` Lee Jones
  2015-08-10  9:14     ` Richard Weinberger
  0 siblings, 1 reply; 8+ messages in thread
From: Lee Jones @ 2015-08-10  9:10 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: linux-next-u79uwXL29TY76Z2rM5mHXA, sameo-VuQAYsv1563Yd54FQh9/CA,
	Arnd Bergmann, yann.morin.1998-GANU6spQydw, linux-kbuild,
	Wolfram Sang, open list:I2C SUBSYSTEM, user-mode-linux-devel

On Sun, 09 Aug 2015, Richard Weinberger wrote:

> Hi!
> 
> -next faces some build issues on UML because of unmet direct dependencies.
> Mostly due to HAS_IOMEM and I2C.
> 
> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
> 
> For example MFD_SYSCON cannot build on UML as it depends on HAS_IOMEM.
> While the symbol MFD_SYSCON has correct dependencies some users of MFD_SYSCON
> just issue a "select MFD_SYSCON" and bypass the HAS_IOMEM dependency and causing the build to fail.
> 
> This brings me to a question on kconfig itself, wouldn't it be better to just disable a symbol if it has
> unmet direct dependencies?

If this is a question about "kconfig itself", you should probably have
included the correct ML and Maintainer:

KCONFIG
M:      Michal Marek <mmarek-AlSwsSmVLrQ@public.gmane.org>
L:      linux-kbuild-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
S:      Odd Fixes
F:      Documentation/kbuild/kconfig-language.txt
F:      scripts/kconfig/

There are also quite a few interested parties on LKML who might be
inclined to submit a fix for you.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unmet direct dependencies in -next
  2015-08-10  9:10   ` Lee Jones
@ 2015-08-10  9:14     ` Richard Weinberger
       [not found]       ` <55C86B66.3020601-/L3Ra7n9ekc@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Weinberger @ 2015-08-10  9:14 UTC (permalink / raw)
  To: Lee Jones
  Cc: linux-next, sameo, Arnd Bergmann, yann.morin.1998, linux-kbuild,
	Wolfram Sang, open list:I2C SUBSYSTEM, user-mode-linux-devel,
	mmarek

Am 10.08.2015 um 11:10 schrieb Lee Jones:
> On Sun, 09 Aug 2015, Richard Weinberger wrote:
> 
>> Hi!
>>
>> -next faces some build issues on UML because of unmet direct dependencies.
>> Mostly due to HAS_IOMEM and I2C.
>>
>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>>
>> For example MFD_SYSCON cannot build on UML as it depends on HAS_IOMEM.
>> While the symbol MFD_SYSCON has correct dependencies some users of MFD_SYSCON
>> just issue a "select MFD_SYSCON" and bypass the HAS_IOMEM dependency and causing the build to fail.
>>
>> This brings me to a question on kconfig itself, wouldn't it be better to just disable a symbol if it has
>> unmet direct dependencies?
> 
> If this is a question about "kconfig itself", you should probably have
> included the correct ML and Maintainer:
> 
> KCONFIG
> M:      Michal Marek <mmarek@suse.cz>
> L:      linux-kbuild@vger.kernel.org
> S:      Odd Fixes
> F:      Documentation/kbuild/kconfig-language.txt
> F:      scripts/kconfig/

Isn't this kbuild related? I've added kbuild folks...
But adding Michal now too...

Thanks,
//richard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unmet direct dependencies in -next
       [not found]       ` <55C86B66.3020601-/L3Ra7n9ekc@public.gmane.org>
@ 2015-08-10 11:12         ` Michal Marek
  2015-08-10 11:24           ` Richard Weinberger
                             ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Michal Marek @ 2015-08-10 11:12 UTC (permalink / raw)
  To: Richard Weinberger, Lee Jones
  Cc: linux-next-u79uwXL29TY76Z2rM5mHXA, sameo-VuQAYsv1563Yd54FQh9/CA,
	Arnd Bergmann, yann.morin.1998-GANU6spQydw, linux-kbuild,
	Wolfram Sang, open list:I2C SUBSYSTEM, user-mode-linux-devel

On 2015-08-10 11:14, Richard Weinberger wrote:
> Am 10.08.2015 um 11:10 schrieb Lee Jones:
>> On Sun, 09 Aug 2015, Richard Weinberger wrote:
>>
>>> Hi!
>>>
>>> -next faces some build issues on UML because of unmet direct dependencies.
>>> Mostly due to HAS_IOMEM and I2C.
>>>
>>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>>>
>>> For example MFD_SYSCON cannot build on UML as it depends on HAS_IOMEM.
>>> While the symbol MFD_SYSCON has correct dependencies some users of MFD_SYSCON
>>> just issue a "select MFD_SYSCON" and bypass the HAS_IOMEM dependency and causing the build to fail.
>>>
>>> This brings me to a question on kconfig itself, wouldn't it be better to just disable a symbol if it has
>>> unmet direct dependencies?

The result of the given .config does not matter as much. The point of
the warnings is that there are missing select statements in the Kconfig
files.

Michal

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unmet direct dependencies in -next
  2015-08-10 11:12         ` Michal Marek
@ 2015-08-10 11:24           ` Richard Weinberger
  2015-08-10 11:55           ` Wolfram Sang
  2016-01-02 22:01           ` Richard Weinberger
  2 siblings, 0 replies; 8+ messages in thread
From: Richard Weinberger @ 2015-08-10 11:24 UTC (permalink / raw)
  To: Michal Marek, Lee Jones
  Cc: linux-next, sameo, Arnd Bergmann, yann.morin.1998, linux-kbuild,
	Wolfram Sang, open list:I2C SUBSYSTEM, user-mode-linux-devel

Am 10.08.2015 um 13:12 schrieb Michal Marek:
> On 2015-08-10 11:14, Richard Weinberger wrote:
>> Am 10.08.2015 um 11:10 schrieb Lee Jones:
>>> On Sun, 09 Aug 2015, Richard Weinberger wrote:
>>>
>>>> Hi!
>>>>
>>>> -next faces some build issues on UML because of unmet direct dependencies.
>>>> Mostly due to HAS_IOMEM and I2C.
>>>>
>>>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>>>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>>>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>>>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>>>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>>>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>>>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>>>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>>>>
>>>> For example MFD_SYSCON cannot build on UML as it depends on HAS_IOMEM.
>>>> While the symbol MFD_SYSCON has correct dependencies some users of MFD_SYSCON
>>>> just issue a "select MFD_SYSCON" and bypass the HAS_IOMEM dependency and causing the build to fail.
>>>>
>>>> This brings me to a question on kconfig itself, wouldn't it be better to just disable a symbol if it has
>>>> unmet direct dependencies?
> 
> The result of the given .config does not matter as much. The point of
> the warnings is that there are missing select statements in the Kconfig
> files.

IMHO the situation could be improved.
What about of failing hard "Your Kconfig is broken" or as I wrote disabling affected symbols?

The current warning is something between.
Kbuild detects that something is broken but produces a .config file.

Thanks,
//richard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unmet direct dependencies in -next
  2015-08-10 11:12         ` Michal Marek
  2015-08-10 11:24           ` Richard Weinberger
@ 2015-08-10 11:55           ` Wolfram Sang
  2015-08-10 11:57             ` Michal Marek
  2016-01-02 22:01           ` Richard Weinberger
  2 siblings, 1 reply; 8+ messages in thread
From: Wolfram Sang @ 2015-08-10 11:55 UTC (permalink / raw)
  To: Michal Marek
  Cc: Richard Weinberger, Lee Jones, linux-next, sameo, Arnd Bergmann,
	yann.morin.1998, linux-kbuild, open list:I2C SUBSYSTEM,
	user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]


> The result of the given .config does not matter as much. The point of
> the warnings is that there are missing select statements in the Kconfig
> files.

For the I2C part, I think they should rather depend on I2C_MUX.
Selecting I2C should be rare, like when you really need that PMIC to
boot.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unmet direct dependencies in -next
  2015-08-10 11:55           ` Wolfram Sang
@ 2015-08-10 11:57             ` Michal Marek
  0 siblings, 0 replies; 8+ messages in thread
From: Michal Marek @ 2015-08-10 11:57 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Richard Weinberger, Lee Jones, linux-next-u79uwXL29TY76Z2rM5mHXA,
	sameo-VuQAYsv1563Yd54FQh9/CA, Arnd Bergmann,
	yann.morin.1998-GANU6spQydw, linux-kbuild,
	open list:I2C SUBSYSTEM, user-mode-linux-devel

On 2015-08-10 13:55, Wolfram Sang wrote:
> 
>> The result of the given .config does not matter as much. The point of
>> the warnings is that there are missing select statements in the Kconfig
>> files.
> 
> For the I2C part, I think they should rather depend on I2C_MUX.
> Selecting I2C should be rare, like when you really need that PMIC to
> boot.

Right, that's another way to fix it.

Michal

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unmet direct dependencies in -next
  2015-08-10 11:12         ` Michal Marek
  2015-08-10 11:24           ` Richard Weinberger
  2015-08-10 11:55           ` Wolfram Sang
@ 2016-01-02 22:01           ` Richard Weinberger
  2 siblings, 0 replies; 8+ messages in thread
From: Richard Weinberger @ 2016-01-02 22:01 UTC (permalink / raw)
  To: Michal Marek, Lee Jones
  Cc: linux-next, sameo, Arnd Bergmann, yann.morin.1998, linux-kbuild,
	Wolfram Sang, open list:I2C SUBSYSTEM, user-mode-linux-devel

Am 10.08.2015 um 13:12 schrieb Michal Marek:
> On 2015-08-10 11:14, Richard Weinberger wrote:
>> Am 10.08.2015 um 11:10 schrieb Lee Jones:
>>> On Sun, 09 Aug 2015, Richard Weinberger wrote:
>>>
>>>> Hi!
>>>>
>>>> -next faces some build issues on UML because of unmet direct dependencies.
>>>> Mostly due to HAS_IOMEM and I2C.
>>>>
>>>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>>>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>>>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>>>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>>>> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
>>>> warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
>>>> PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && RTC_DRV_AT91SAM9 && VIDEO_OMAP4 &&
>>>> HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
>>>>
>>>> For example MFD_SYSCON cannot build on UML as it depends on HAS_IOMEM.
>>>> While the symbol MFD_SYSCON has correct dependencies some users of MFD_SYSCON
>>>> just issue a "select MFD_SYSCON" and bypass the HAS_IOMEM dependency and causing the build to fail.
>>>>
>>>> This brings me to a question on kconfig itself, wouldn't it be better to just disable a symbol if it has
>>>> unmet direct dependencies?

FYI, -next is still facing:
warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP &&
PINCTRL_DOVE && POWER_RESET_KEYSTONE && POWER_RESET_SYSCON && POWER_RESET_SYSCON_POWEROFF && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && USB_XHCI_MTK && RTC_DRV_AT91SAM9
&& LPC18XX_DMAMUX && VIDEO_OMAP4 && HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI && PHY_HI6220_USB) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)

Thanks,
//richard

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-01-02 22:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-09  9:40 unmet direct dependencies in -next Richard Weinberger
     [not found] ` <55C71FF5.1020902-/L3Ra7n9ekc@public.gmane.org>
2015-08-10  9:10   ` Lee Jones
2015-08-10  9:14     ` Richard Weinberger
     [not found]       ` <55C86B66.3020601-/L3Ra7n9ekc@public.gmane.org>
2015-08-10 11:12         ` Michal Marek
2015-08-10 11:24           ` Richard Weinberger
2015-08-10 11:55           ` Wolfram Sang
2015-08-10 11:57             ` Michal Marek
2016-01-02 22:01           ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).