Message ID | 26cb8213-7474-0563-67f8-c6b85ee0f024@infradead.org (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
>>>>> "Randy" == Randy Dunlap <rdunlap@infradead.org> writes:
Randy> From: Randy Dunlap <rdunlap@infradead.org> Fix build of SCSI qedi
Randy> driver. It uses uio interfaces so it should depend on UIO.
Applied to 4.10/scsi-fixes.
On Tue, Dec 20, 2016 at 08:43:30AM -0800, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@infradead.org> > > Fix build of SCSI qedi driver. It uses uio interfaces so it > should depend on UIO. > > ERROR: "uio_unregister_device" [drivers/scsi/qedi/qedi.ko] undefined! > ERROR: "uio_event_notify" [drivers/scsi/qedi/qedi.ko] undefined! > ERROR: "__uio_register_device" [drivers/scsi/qedi/qedi.ko] undefined! Why is it hiding an uio driver in an iscsi offload driver? -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- linux-next-20161220.orig/drivers/scsi/qedi/Kconfig +++ linux-next-20161220/drivers/scsi/qedi/Kconfig @@ -1,6 +1,6 @@ config QEDI tristate "QLogic QEDI 25/40/100Gb iSCSI Initiator Driver Support" - depends on PCI && SCSI + depends on PCI && SCSI && UIO depends on QED select SCSI_ISCSI_ATTRS select QED_LL2