scsi: bfa: use designated initializers
authorKees Cook <keescook@chromium.org>
Thu, 20 Apr 2017 22:00:02 +0000 (15:00 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 Apr 2017 14:11:34 +0000 (10:11 -0400)
commitb34b10a725e22980a331c796577e368ebb5ed895
tree39ff719394803313b6c44e827a27092ad0542972
parent7ecaeaffd72ada135016564c08f5aa0b0be338f7
scsi: bfa: use designated initializers

Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers. This also initializes the
array members using the enum used to look up __port_action entries.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfa_fcs_lport.c