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: pgpwd0zi3WJLr.pgp
Description: PGP signature


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux