• Nilesh Javali's avatar
    scsi: qedi: Add ISCSI_BOOT_SYSFS to Kconfig · cc20c29e
    Nilesh Javali authored
    qedi uses iscsi_boot_sysfs to export the targets used for boot to
    sysfs. Select the config option to make sure the module is built.
    
    This addresses the compile time issue,
        drivers/scsi/qedi/qedi_main.o: In function `qedi_remove':
        qedi_main.c:(.text+0x3bbd): undefined reference to `iscsi_boot_destroy_kset'
        drivers/scsi/qedi/qedi_main.o: In function `__qedi_probe.constprop.0':
        qedi_main.c:(.text+0x577a): undefined reference to `iscsi_boot_create_target'
        qedi_main.c:(.text+0x5807): undefined reference to `iscsi_boot_create_target'
        qedi_main.c:(.text+0x587f): undefined reference to `iscsi_boot_create_initiator'
        qedi_main.c:(.text+0x58f3): undefined reference to `iscsi_boot_create_ethernet'
        qedi_main.c:(.text+0x5927): undefined reference to `iscsi_boot_destroy_kset'
        qedi_main.c:(.text+0x5d7b): undefined reference to `iscsi_boot_create_host_kset'
    
    [mkp: fixed whitespace]
    Signed-off-by: default avatarNilesh Javali <nilesh.javali@cavium.com>
    Fixes: c57ec8fb ("scsi: qedi: Add support for Boot from SAN over iSCSI offload")
    Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    cc20c29e
Kconfig 324 Bytes