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

scsi: core: reshuffle no_scsi2_lun_in_cdb for better alignment

no_scsi2_lun_in_cdb declares a new bitfield, but we should rather move
it to the existing bitfield for better alignment.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Hannes Reinecke and committed by
Martin K. Petersen
93ab8c8f d095986d

+3 -3
+3 -3
include/scsi/scsi_host.h
··· 628 628 /* Host responded with short (<36 bytes) INQUIRY result */ 629 629 unsigned short_inquiry:1; 630 630 631 + /* The transport requires the LUN bits NOT to be stored in CDB[1] */ 632 + unsigned no_scsi2_lun_in_cdb:1; 633 + 631 634 /* 632 635 * Optional work queue to be utilized by the transport 633 636 */ ··· 641 638 * Task management function work queue 642 639 */ 643 640 struct workqueue_struct *tmf_work_q; 644 - 645 - /* The transport requires the LUN bits NOT to be stored in CDB[1] */ 646 - unsigned no_scsi2_lun_in_cdb:1; 647 641 648 642 /* 649 643 * Value host_blocked counts down from