commit | b34b10a725e22980a331c796577e368ebb5ed895 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Apr 20 15:00:02 2017 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Fri Apr 21 10:11:34 2017 -0400 |
tree | 39ff719394803313b6c44e827a27092ad0542972 | |
parent | 7ecaeaffd72ada135016564c08f5aa0b0be338f7 [diff] |
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>