Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: qla2xxx: Modify NVMe include directives

Since struct sg_table is used in nvme-fc-driver.h, include
<linux/scatterlist.h> from that header file.

Since no definitions or declarations from <linux/blk-mq.h> are used in the
qla_nvme.h header file, do not include <linux/blk-mq.h> from that header
file.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
3cb5f3ae e752a04e

+2 -1
-1
drivers/scsi/qla2xxx/qla_nvme.h
··· 7 7 #ifndef __QLA_NVME_H 8 8 #define __QLA_NVME_H 9 9 10 - #include <linux/blk-mq.h> 11 10 #include <uapi/scsi/fc/fc_fs.h> 12 11 #include <uapi/scsi/fc/fc_els.h> 13 12 #include <linux/nvme-fc-driver.h>
+2
include/linux/nvme-fc-driver.h
··· 6 6 #ifndef _NVME_FC_DRIVER_H 7 7 #define _NVME_FC_DRIVER_H 1 8 8 9 + #include <linux/scatterlist.h> 10 + 9 11 10 12 /* 11 13 * ********************** LLDD FC-NVME Host API ********************