diff options
author | Ivan Orlov <[email protected]> | 2023-08-12 01:30:52 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 13:42:00 +0200 |
commit | df8e2c3e16befe8c92ee6016059871d126015005 (patch) | |
tree | 1a1f57b67aeb8da9ce3b6dfe7d0d76960a8ed7f8 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 979ca1ca1f2c87386deffbeb01767bb40448b4a1 (diff) |
mei: make mei_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the mei_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions