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

Skip to content
Commit 9660d3f8 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

char: msm_smd_pkt: Return correct error code for bad ioctls



Unsupported ioctl commands should return -ENOIOCTLCMD which is translated
to -ENOTTY for userspace.  msm_smd_pkt incorrectly returns -EPERM for bad
ioctls.  Correct the return code for bad ioctls to -ENOIOCTLCMD.

Change-Id: I6d60f4dfc99d4e381ee8105dfb7bd1b9a3ee320b
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 08a9c39e
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