• R
    scsi: fix bnx2i build errors · 5c90ad90
    Randy Dunlap 提交于
    bnx2i should depend on NET since it selects SCSI_ISCSI_ATTRS, which
    depends on NET.
    
    Also move the dependencies together.
    
    The "depends" change fixes multiple build errors when CONFIG_NET is
    not enabled:
    ERROR: "skb_trim" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "netlink_kernel_create" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "netlink_kernel_release" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "skb_pull" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "init_net" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "__alloc_skb" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "netlink_broadcast" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "kfree_skb" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    ERROR: "skb_put" [drivers/scsi/scsi_transport_iscsi.ko] undefined!
    Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
    Cc: Anil Veerabhadrappa <anilgv@broadcom.com>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    5c90ad90
Kconfig 268 字节