-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm: vidc: Fix broken debugfs creation error checks and error paths
The debugfs helper functions do not always return NULL when they fail; instead, they can return an error number casted as a pointer, so that their users have the option to determine the exact cause of failure. Use the IS_ERR_OR_NULL() helper when checking for debugfs errors to fix the error checks. Change-Id: I937e294036482c13e1f40e5ea68db1673dcb6154 Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com> Signed-off-by: Albert I <krascgq@outlook.co.id> Signed-off-by: khusika <khusikadhamar@gmail.com>
- Loading branch information
1 parent
fce83f3
commit bc1aa0e
Showing
1 changed file
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters