Re: randconfig build error with next-20140909, in drivers/net/ethernet/broadcom/cnic.c

From: Randy Dunlap
Date: Tue Sep 09 2014 - 18:56:12 EST


On 09/09/14 14:08, Anish Bhatt wrote:
>
>> Adding depends on IPV6 || IPV6=n doesn't work for SCSI_BNX2X_FCOE, but
>> works for SCSI_BNX2_ISCSI?
>
> It fixes the config issue for both, but with FCOE; make scripts will complain about recursive dependencies with the following :
>
> scripts/kconfig/conf --silentoldconfig Kconfig
> net/Kconfig:5:error: recursive dependency detected!
> net/Kconfig:5: symbol NET is selected by SCSI_NETLINK
> drivers/scsi/Kconfig:43: symbol SCSI_NETLINK is selected by SCSI_FC_ATTRS
> drivers/scsi/Kconfig:258: symbol SCSI_FC_ATTRS is selected by LIBFC
> drivers/scsi/Kconfig:586: symbol LIBFC is selected by SCSI_BNX2X_FCOE
> drivers/scsi/bnx2fc/Kconfig:1: symbol SCSI_BNX2X_FCOE depends on IPV6
> net/ipv6/Kconfig:6: symbol IPV6 depends on NET

It would be really good if SCSI_NETLINK depended on NET instead of selected NET.
We shouldn't have kconfig symbols that use 'select' on entire subsystems.

--
~Randy
--
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/