On Wed, 2017-01-25 at 18:25 +0100, Christoph Hellwig wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.=
h
quoted hunk ↗ jump to hunk
index 8129239..b6e07b5 100644
--- a/include/scsi/scsi_transport.h
+++ b/include/scsi/scsi_transport.h
@@ -119,4 +119,6 @@ scsi_transport_device_data(struct scsi_device *sdev)
+ shost->transportt->device_private_offset;
}
=20
+void __scsi_init_queue(struct Scsi_Host *shost, struct request_queue *q)=
;
+
#endif /* SCSI_TRANSPORT_H */
Hello Christoph,
Since __scsi_init_queue() modifies data in the Scsi_Host structure, have yo=
u
considered to add the declaration for this function to <scsi/scsi_host.h>?
If you want to keep this declaration in <scsi/scsi_transport.h> please add =
a
direct include of that header file to drivers/scsi/scsi_lib.c such that the
declaration remains visible to the compiler if someone would minimize the
number of #include directives in SCSI header files.
Thanks,
Bart.=