aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 20:01:33 +0200
committerJens Axboe <[email protected]>2023-06-21 07:46:17 -0600
commit72ef02b8dfa009029fa713e8a731a92d27d14e35 (patch)
treebc018aea12760ae41393a634a081765010ca76e5 /lib/memory-notifier-error-inject.c
parent2eefd399d28a52739fdbeebe84775275f016171c (diff)
bsg: make bsg_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the bsg_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: FUJITA Tomonori <[email protected]> Cc: Jens Axboe <[email protected]> Cc: [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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions