Loading
mailbox: mailbox-test: Fix debugfs_create_dir error checking
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: 8ea4484d ("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>