aic94xx: Compile problem on s390
Subsystems (2)
PATCH 1/1 aic94xx: Compile problem on s390
The aic94xx driver in my-scsi and aic94xx James Bottomley tree does not compile on s390. Since the driver is generic, it makes sense to fix. The patch is quite simple:
include/scsi/libsas.h +1 -0
@@ -32,6 +32,7 @@#include <scsi/sas.h> #include <linux/list.h> #include <asm/semaphore.h> +#include <asm/scatterlist.h> #include <scsi/scsi_device.h> #include <scsi/scsi_cmnd.h> #include <scsi/scsi_transport_sas.h>
Signature · 2 lines
Konrad Rzeszutek 1-(978)-392-3903 or 1-(617)-693-1718 IBM on-site partner.
Quoted 2 lines · Konrad Rzeszutek
The aic94xx driver in my-scsi and aic94xx James Bottomley tree does not compile on s390. Since the driver is generic, it makes sense to fix.
Erm, well, I don't think there's any s390s with PCI ;-)
Quoted 2 lines
The patch is quite simple:
+#include <asm/scatterlist.h>
Surely should be linux/scatterlist.h?
Quoted 10 lines · Matthew Wilcox
Quoted 2 lines · Konrad Rzeszutek
The aic94xx driver in my-scsi and aic94xx James Bottomley tree does not compile on s390. Since the driver is generic, it makes sense to fix.
Erm, well, I don't think there's any s390s with PCI ;-)
Quoted 2 lines
The patch is quite simple:
+#include <asm/scatterlist.h>Surely should be
linux/scatterlist.h?
Hm. Most of the drivers use the <asm/...> and that is where the struct scatterlist is defined. The linux/scatterlist.h includes the asm/scatterlist.h.
Either one works.
Signature · 2 lines
Konrad Rzeszutek 1-(978)-392-3903 or 1-(617)-693-1718 IBM on-site partner.