Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be809edd authored by Sultanxda's avatar Sultanxda Committed by Dyneteve
Browse files

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.

Signed-off-by: default avatarSultanxda <sultanxda@gmail.com>
parent 7682b53b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment