diff options
| author | Christophe Leroy <[email protected]> | 2024-12-05 19:46:16 +0000 |
|---|---|---|
| committer | Petr Pavlu <[email protected]> | 2025-01-26 12:05:24 +0000 |
| commit | 110b1e070f1d50f5217bd2c758db094998bb7b77 (patch) | |
| tree | 7e601ea4be751138c8071b884ab9c1bebad72f2c /lib/xarray.c | |
| parent | module: Split module_enable_rodata_ro() (diff) | |
| download | kernel-110b1e070f1d50f5217bd2c758db094998bb7b77.tar.gz kernel-110b1e070f1d50f5217bd2c758db094998bb7b77.zip | |
module: Don't fail module loading when setting ro_after_init section RO failed
Once module init has succeded it is too late to cancel loading.
If setting ro_after_init data section to read-only fails, all we
can do is to inform the user through a warning.
Reported-by: Thomas Gleixner <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: d1909c022173 ("module: Don't ignore errors from set_memory_XX()")
Signed-off-by: Christophe Leroy <[email protected]>
Reviewed-by: Luis Chamberlain <[email protected]>
Link: https://lore.kernel.org/r/d6c81f38da76092de8aacc8c93c4c65cb0fe48b8.1733427536.git.christophe.leroy@csgroup.eu
Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
