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

Skip to content
Commit e9d9686e authored by Anjana's avatar Anjana Committed by Anjana Hari
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>
Signed-off-by: default avatarAnjana Hari <ahari@codeaurora.org>
parent a2c17c17
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