]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'bna-remove-error-checking-for-debugfs-create-apis'
authorJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 01:51:54 +0000 (18:51 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 01:51:54 +0000 (18:51 -0700)
Zhen Lei says:

====================
bna: Remove error checking for debugfs create APIs

1. Fix the incorrect return value check for debugfs_create_dir() and
   debugfs_create_file(), which returns ERR_PTR(-ERROR) instead of NULL
   when it fails.
2. Remove field bnad_dentry_files[] in struct bnad. When a directory is
   deleted, files in the directory are automatically deleted. Therefore,
   there is need to record these files.
====================

Link: https://patch.msgid.link/20241028020943.507-1-thunder.leizhen@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge