mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
mailbox: mailbox-test: Fix debugfs_create_dir error checking
[ Upstream commit3acf1028f5] The debugfs_create_dir() function returns ERR_PTR() on error, not NULL. The current null-check fails to catch errors. Use IS_ERR() to correctly check for errors. Fixes:8ea4484d0c("mailbox: Add generic mechanism for testing Mailbox Controllers") Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
779a422b45
commit
f73d41f2a1
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue