aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 16:37:02 +0200
committerCorey Minyard <[email protected]>2023-06-20 09:49:08 -0500
commit392fa3a3abdb03105c8767b7fb176bc8793349f5 (patch)
tree745c2bd9c8668349ae00f4a228f088389fe3675c /lib/test_fortify/write_overflow-strncpy-src.c
parentb8d72e32e1453d37ee5c8a219f24e7eeadc471ef (diff)
ipmi: make ipmi_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the ipmi_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Corey Minyard <[email protected]> Cc: [email protected] Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions