sgi-xp: Use designated initializers
authorKees Cook <keescook@chromium.org>
Wed, 5 Apr 2017 05:07:10 +0000 (22:07 -0700)
committerKees Cook <keescook@chromium.org>
Sun, 28 May 2017 17:22:42 +0000 (10:22 -0700)
commit234041dfe5ca83d5c8122ec1999eaf3f00335d7b
tree998114ee5e3d34158006efabf7d1be4ccf56832d
parent7585d12f6555fdf4faaefec34ac58b28555b27d0
sgi-xp: Use designated initializers

Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers. In this case, no initializers
are needed (they can be NULL initialized and callers adjusted to check
for NULL, which is more efficient than an indirect call).

Cc: Robin Holt <robinmholt@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
drivers/misc/sgi-xp/xp.h
drivers/misc/sgi-xp/xp_main.c