在 2023/7/12 10:52, Wang Ming 写道:
> The debugfs_create_dir() function returns error pointers.
> It never returns NULL. Most incorrect error checks were fixed,
> but the one in scom_debug_init() was forgotten, the other one in
> scom_debug_init_one() was also forgotten.
>
> Fix the remaining error
The debugfs_create_dir() function returns error pointers.
It never returns NULL. Most incorrect error checks were fixed,
but the one in scom_debug_init() was forgotten, the other one in
scom_debug_init_one() was also forgotten.
Fix the remaining error check.
Signed-off-by: Wang Ming
Fixes: