mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
[ Upstream commite229897d37] The debugfs_create_dir() function returns error pointers. It never returns NULL. So use IS_ERR() to check it. Fixes:e26a5843f7("NTB: Split ntb_hw_intel and ntb_transport drivers") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a871594b20
commit
7cbd6d7fb9
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue