OpenCloudOS-Kernel/fs/pstore
Kees Cook 563ca40ddf pstore/platform: Switch pstore_info::name to const
In order to more cleanly pass around backend names, make the "name" member
const. This means the module param needs to be dynamic (technically, it
was before, so this actually cleans up a minor memory leak if a backend
was specified and then gets unloaded.)

Link: https://lore.kernel.org/lkml/20200510202436.63222-3-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
2020-05-30 10:34:02 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ftrace.c pstore: no need to check return value of debugfs_create functions 2019-07-08 21:04:42 -07:00
inode.c pstore: Remove filesystem records when backend is unregistered 2020-05-30 10:34:02 -07:00
internal.h pstore: Remove filesystem records when backend is unregistered 2020-05-30 10:34:02 -07:00
platform.c pstore/platform: Switch pstore_info::name to const 2020-05-30 10:34:02 -07:00
pmsg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
ram.c pstore/ram: remove unnecessary ramoops_unregister_dummy() 2020-02-25 11:15:53 -08:00
ram_core.c pstore/ram: Replace zero-length array with flexible-array member 2020-03-09 14:45:40 -07:00