summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorWang Qing <wangqing@vivo.com>2021-03-13 04:33:48 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-03-14 14:09:49 +0100
commit63d6c98168916f0c18f7bb7a28e27efd95524409 (patch)
treef2e14e25487dbec5e027109f9117ad1d31b2c7e4 /arch/mips/include/asm
parentMIPS: clean up CONFIG_MIPS_PGD_C0_CONTEXT handling (diff)
downloadlinux-63d6c98168916f0c18f7bb7a28e27efd95524409.tar.xz
linux-63d6c98168916f0c18f7bb7a28e27efd95524409.zip
mips: kernel: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()
debugfs_create_file_unsafe does not protect the fops handed to it against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of the file lifetime and thus protects it against removal. Signed-off-by: Wang Qing <wangqing@vivo.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions