aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 16:37:57 +0200
committerGreg Kroah-Hartman <[email protected]>2023-06-23 10:27:17 +0200
commit98ab58a7a0b08be3f5ebdcb44fdf49127f749970 (patch)
tree10e0ef7b43bd01379deefdbcb89b6f7a57bab1da /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parenteafd52e6971ab63dd9294df1e363951148f292cf (diff)
ppdev: make ppdev_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the ppdev_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at load time. Cc: Sudip Mukherjee <[email protected]> Cc: Arnd Bergmann <[email protected]> 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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions