SCSI: Avoid ABI change in 4.13.6
authorBen Hutchings <ben@decadent.org.uk>
Thu, 26 Oct 2017 09:59:43 +0000 (11:59 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Nov 2017 21:04:10 +0000 (21:04 +0000)
Hide the new bitfield from genksyms, as it's using what used to be a
padding bit.

Gbp-Pq: Topic debian
Gbp-Pq: Name scsi-avoid-abi-change-in-4.13.6.patch

include/scsi/scsi_device.h

index 6ff1bab23679df74c50db7daab77b56707d6b3e1..47b51b404f3a5b58f7b65d90b316617b38e42b8c 100644 (file)
@@ -182,7 +182,10 @@ struct scsi_device {
        unsigned no_dif:1;      /* T10 PI (DIF) should be disabled */
        unsigned broken_fua:1;          /* Don't set FUA bit */
        unsigned lun_in_cdb:1;          /* Store LUN bits in CDB[1] */
+#ifndef __GENKSYMS__
        unsigned unmap_limit_for_ws:1;  /* Use the UNMAP limit for WRITE SAME */
+       /* 19 unused bits */
+#endif
 
        atomic_t disk_events_disable_depth; /* disable depth for disk events */