Re: [PATCH 1/2] drivers: mcb: Fix build error discovered by 0-day bot
From: Greg Kroah-Hartman
Date: Sun Mar 09 2014 - 00:56:38 EST
On Mon, Mar 03, 2014 at 09:46:48PM +0100, Johannes Thumshirn wrote:
> From: Johannes Thumshirn <morbidrsa@xxxxxxxxx>
>
> Make mcb depend on HAS_IOMEM and mcb-pci depend on PCI. This fixes build errors
> discovered by the 0-day kernel build testing system.
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@xxxxxx>
> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
> ---
> drivers/mcb/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mcb/Kconfig b/drivers/mcb/Kconfig
> index b8f5d46..87d5a46 100644
> --- a/drivers/mcb/Kconfig
> +++ b/drivers/mcb/Kconfig
> @@ -4,7 +4,7 @@
>
> menuconfig MCB
> tristate "MCB support"
> - default m
> + depends on HAS_IOMEM
> help
>
> The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
> @@ -18,6 +18,7 @@ if MCB
> config MCB_PCI
> tristate "PCI based MCB carrier"
> default m
This should not be default m either, please redo this against my latest
tree and resend.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/