aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-08-10 23:42:39 +0400
committerGreg Kroah-Hartman <[email protected]>2023-08-11 21:41:36 +0200
commitfd06978b06a2ad99cb6d048617e50869d4081420 (patch)
tree10739d8e87af3ef12b51c5de630a8aff633e7b23 /lib/test_fortify/write_overflow-strncpy.c
parentb5fa33795544be7cb791a6991cb4bb6a237967f4 (diff)
misc: hpilo: make ilo_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the ilo_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