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

Skip to content
Commit 263e794b authored by Sultanxda's avatar Sultanxda Committed by TARKZiM
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.

Change-Id: I7c2f5d45c6857e72ad2de200d642d018923040da
Signed-off-by: default avatarSultanxda <sultanxda@gmail.com>
parent 11e80f96
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