aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2023-02-10 02:14:44 +0000
committerDamien Le Moal <[email protected]>2023-02-13 08:03:48 +0900
commit2b188a2cfc4d8f319ad23832ec1390bdae52daf6 (patch)
treee42e8510807184be2a88c8371a7bc44722c2c8a6 /lib/memory-notifier-error-inject.c
parent43592c46375a056b411b065acf2d37fc1e3ab251 (diff)
zonefs: make kobj_type structure constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type. Take advantage of this to constify the structure definition to prevent modification at runtime. Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions