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

Commit 9f563f1a authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

staging: android: ion: dummy: fix dereference of ERR_PTR



ion_device_create() can fail and if it fails then it returns the error
value in ERR_PTR.

Signed-off-by: default avatarSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Reviewed-by: default avatarLaura Abbott <labbott@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3229ff34
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