[PATCH 05/11] iov_iter: merge the compat case into rw_copy_check_uvector

Al Viro viro at zeniv.linux.org.uk
Mon Sep 21 11:14:56 EDT 2020


On Mon, Sep 21, 2020 at 04:34:28PM +0200, Christoph Hellwig wrote:
> +static int compat_copy_iovecs_from_user(struct iovec *iov,
> +		const struct iovec __user *uvector, unsigned long nr_segs)
> +{
> +	const struct compat_iovec __user *uiov =
> +		(const struct compat_iovec __user *)uvector;
> +	unsigned long i;
	         ^^^^
Huh?



More information about the linux-arm-kernel mailing list