diff options
| author | Haotian Zhang <vulab@iscas.ac.cn> | 2025-11-20 10:40:39 +0800 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-11-28 09:31:52 -0600 |
| commit | 3acf1028f5003731977f750a7070f3321a9cb740 (patch) | |
| tree | ee621fe6c53cfed3ab0b3eeb777f9cfbef79ab85 /tools/lib/python/kdoc/python_version.py | |
| parent | 060e4e835f9394816584942511f22d771f05100c (diff) | |
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: 8ea4484d0c2b ("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>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
