diff options
author | Kees Cook <keescook@chromium.org> | 2017-06-27 01:53:07 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-27 23:27:24 +0300 |
commit | 3d867f6c5fd6535cdeceef3170e5e84e5dd80fc1 (patch) | |
tree | 4374a9f054e2c1a5580f8c7a5034b9421598cdcd /drivers/char | |
parent | a976c2951d8f376112361830aa7762beff83a205 (diff) | |
download | linux-3d867f6c5fd6535cdeceef3170e5e84e5dd80fc1.tar.xz |
ACPICA: Use designated initializers
The struct layout randomization plugin detects and randomizes any structs
that contain only function pointers. Once layout is randomized, all
initialization must be designated or the compiler will misalign the
assignments. This switches all the ACPICA function pointer struct to
use designated initializers, using the proposed upstream ACPICA macro:
https://github.com/acpica/acpica/pull/248/
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions