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

Skip to content
Commit b087cdb3 authored by Anjana's avatar Anjana Committed by Gerrit - the friendly Code Review server
Browse files

scsi: ufs: Fix IOCTL error checking for input buffer



The check for user buffer != NULL in ufshcd_ioctl() should
only be done at a point when we know we have a valid IOCTL
command.  Move this check inside the UFS_IOCTL_QUERY
handling code.

Change-Id: I10e86b30ae1fdd8c9230db476bb593ccfa94b55c
Signed-off-by: default avatarAnjana <ahari@codeaurora.org>
parent 4ba4bb61
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