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

Skip to content
Commit 7d11d89e authored by Harsh Shah's avatar Harsh Shah
Browse files

msm: camera: crm: Fix the size to copy from user in IOCTL



In IOCTL, copy_from_user needs to be for a size interpreted by
the driver, instead of the value passed in IOCTL. This way,
when executing the IOCTL, the param data has valid memory region.

Change-Id: I17a1e6c6683ba3340e535ed21c3158fdbffbcfe3
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
parent 2a2caaf0
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