Commit 8788c6c2 authored by Atul Kumar Pant's avatar Atul Kumar Pant Committed by Ingo Molnar
Browse files

locking/debug: Fix debugfs API return value checks to use IS_ERR()



Update the checking of return values from debugfs_create_file()
and debugfs_create_dir() to use IS_ERR().

Signed-off-by: default avatarAtul Kumar Pant <atulpant.linux@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Acked-by: default avatarWaiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20230807121834.7438-1-atulpant.linux@gmail.com
parent cfa92b6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment