]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita58d223d881626fce4b43f8aa601c53afd12d559
treead4b242b2bb251742ca1d4b31a07d2364a38bdbb
parent8ecb90e988d475455de9e1b049be8020e4f62776
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