Re: [patch 1/2] drm/tegra: return -EFAULT if copy_from_user() fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 08, 2013 at 01:07:37PM +0300, Dan Carpenter wrote:
> copy_from_user() returns the number of bytes remaining if it fails, but
> we want to return -EFAULT here.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied (manually because there was a conflict with the __user
annotation fix that I did earlier).

Thanks,
Thierry

Attachment: pgp9Mz3E0absl.pgp
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux