aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 20:01:32 +0200
committerJens Axboe <[email protected]>2023-06-21 07:46:13 -0600
commit2eefd399d28a52739fdbeebe84775275f016171c (patch)
tree426fb7410039972b75b15bf60aa6cc538b1f49b2 /tools/testing/selftests/bpf/progs/test_autoload.c
parent65d7a37d4e3e226bb4a4ddf73a827d0dbc77f530 (diff)
ublk: make ublk_chr_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the ublk_chr_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: Ming Lei <[email protected]> Cc: Jens Axboe <[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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions