From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751691AbaIIXUi (ORCPT ); Tue, 9 Sep 2014 19:20:38 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:53117 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbaIIXUh (ORCPT ); Tue, 9 Sep 2014 19:20:37 -0400 X-IronPort-AV: E=Sophos;i="5.04,494,1406617200"; d="scan'208";a="45190004" Subject: RE: randconfig build error with next-20140909, in drivers/net/ethernet/broadcom/cnic.c From: Michael Chan To: Anish Bhatt CC: Randy Dunlap , "eddie.wai@broadcom.com" , Jim Davis , Stephen Rothwell , linux-next , linux-kernel , "David S. Miller" , netdev , James Bottomley In-Reply-To: <525DB349B3FB5444AE057A887CB2A8D88E3E42@nice.asicdesigners.com> References: <525DB349B3FB5444AE057A887CB2A8D88E0BFB@nice.asicdesigners.com> ,<1410295676.7520.4.camel@LTIRV-MCHAN1.corp.ad.broadcom.com> <525DB349B3FB5444AE057A887CB2A8D88E3CEC@nice.asicdesigners.com> ,<540F8582.50703@infradead.org> <525DB349B3FB5444AE057A887CB2A8D88E3E42@nice.asicdesigners.com> Content-Type: text/plain; charset="cp1252" Date: Tue, 9 Sep 2014 16:20:35 -0700 Message-ID: <1410304835.7520.27.camel@LTIRV-MCHAN1.corp.ad.broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2014-09-09 at 23:16 +0000, Anish Bhatt wrote: > > 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. > > As a test, I was able to fix this by this approach : change SCSI_NETLINK to depend > on NET instead of selecting NET, and replacing 'select NETDEVICES ETHERNET > NET_VENDOR_BROADCOM CNIC' to 'depends on CNIC' in bnx2i & bnx2fc. (as CNIC > already has a dependency on those). This removes the need to check for IPV6 in > bnx2i/fc Kconfigs as well. > > The side effect is that you won't see BNX2 drivers unless CNIC is selected, similar > for SCSI_NETLINK as well, not sure if there are any other implications. Right. I think it is more user-friendly for BNX2I and BNX2FC to select CNIC. CNIC is not useful by itself and it makes more sense to select it automatically when BNX2I/BNX2FC are enabled.