scsi: qla2xxx: Sort BUILD_BUG_ON() statements alphabetically
authorBart Van Assche <bvanassche@acm.org>
Mon, 18 May 2020 21:17:01 +0000 (14:17 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 May 2020 01:43:04 +0000 (21:43 -0400)
Before adding more BUILD_BUG_ON() statements, sort the existing statements
alphabetically.

Link: https://lore.kernel.org/r/20200518211712.11395-5-bvanassche@acm.org
Cc: Nilesh Javali <njavali@marvell.com>
Cc: Quinn Tran <qutran@marvell.com>
Cc: Martin Wilck <mwilck@suse.com>
Cc: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c

index 8f96d37..bc8ae0c 100644 (file)
@@ -7842,11 +7842,11 @@ qla2x00_module_init(void)
        BUILD_BUG_ON(sizeof(struct init_cb_24xx) != 128);
        BUILD_BUG_ON(sizeof(struct init_cb_81xx) != 128);
        BUILD_BUG_ON(sizeof(struct pt_ls4_request) != 64);
+       BUILD_BUG_ON(sizeof(struct qla_flt_header) != 8);
+       BUILD_BUG_ON(sizeof(struct qla_flt_region) != 16);
        BUILD_BUG_ON(sizeof(struct sns_cmd_pkt) != 2064);
        BUILD_BUG_ON(sizeof(struct verify_chip_entry_84xx) != 64);
        BUILD_BUG_ON(sizeof(struct vf_evfp_entry_24xx) != 56);
-       BUILD_BUG_ON(sizeof(struct qla_flt_region) != 16);
-       BUILD_BUG_ON(sizeof(struct qla_flt_header) != 8);
 
        /* Allocate cache for SRBs. */
        srb_cachep = kmem_cache_create("qla2xxx_srbs", sizeof(srb_t), 0,