scsi: qla2xxx: Check the size of firmware data structures at compile time
authorBart Van Assche <bvanassche@acm.org>
Wed, 17 Apr 2019 21:44:37 +0000 (14:44 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 29 Apr 2019 21:24:51 +0000 (17:24 -0400)
commitbc04459ce4e5d394d79fe2a0660d43c1a40b6eb8
treead4b242b2bb251742ca1d4b31a07d2364a38bdbb
parent6e73985a9dea627114531723bdae6f8c1f59d5e8
scsi: qla2xxx: Check the size of firmware data structures at compile time

Since the next patch will modify several firmware data structures, add
compile time checks that verify that these structures have the correct
size.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_target.c