Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp947032ybz; Wed, 22 Apr 2020 10:44:03 -0700 (PDT) X-Google-Smtp-Source: APiQypLURdXjgTyIAZvX/gIqGkZxDohWYtFWgcKekCa7YWkSFc69h+vkmaBp2dCS67AC/Q+EfY2U X-Received: by 2002:a17:906:7e5a:: with SMTP id z26mr8229335ejr.168.1587577443022; Wed, 22 Apr 2020 10:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587577443; cv=none; d=google.com; s=arc-20160816; b=DoIlZ6raW1B7ptrqREMHCX4INFzmiGbeo7QnWnIQD+LOkLYy8eeTK4Q3ps3HXAWuo1 zvriazYDgLqrmd3S6uOsG5aqnzDPZdcmxNa6QIXSrkwXzRz/ccGdH5QuEwftgQjBX/1W gB9wz4XrxwtjL9rzpGEC+jJCqvTv6/XADSoSTmSr8oHF2yG3OBqlWOkI0QPPys9wTU3w GZ+GDAJLKE4tUMyKeHPfqKPBMOu6ySyaoe1gnGSz/Db7UmaY/ART+J3PZV/AXOXL+ks3 qLpT7F7quSgbrczbJemGnrHkSi5ieaO2zXvs464jrwl5Ml9NLMeO3pwht67/Nrw/x44G vQKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qMdePpEa3U8YItRxiavLRqJijW05zIkboxtqG/zFhZQ=; b=UNtslw0I2nXsgzf/wxWfWJEwrydXo3OvvSs2G8sFfGKTVHX6szmLNOgVX64BNh+ARz kXlPoDMcj13UBv8t8tj6JuTzO8BEYEHFvZk8DS+4F6Do2zkLf9n3kW6Nj7DIUGxJdR7M 9D9TyYao8KXFKcf9B5vdrTU6gruux3N5BQQjpQOZmOuSSoGHQM4leKo+VaKSyc9fkgeR nnqByy9PhJNUoy5sVggNSnF6r6VBAnm/veze3rC1+ZAFs+K/6oUf+V2umuKtRWOmDPi7 piFCEycKtjJn6yTff1MeDWtlkHu1jn89/XvzWXBvNgkLzVGi8X3mIRtoboZrmaNkwhfr Lcyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i24si4116364edy.602.2020.04.22.10.43.37; Wed, 22 Apr 2020 10:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbgDVRlF (ORCPT + 99 others); Wed, 22 Apr 2020 13:41:05 -0400 Received: from verein.lst.de ([213.95.11.211]:53925 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbgDVRlE (ORCPT ); Wed, 22 Apr 2020 13:41:04 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 122D068C4E; Wed, 22 Apr 2020 19:41:03 +0200 (CEST) Date: Wed, 22 Apr 2020 19:41:02 +0200 From: Christoph Hellwig To: Martijn Coenen Cc: axboe@kernel.dk, hch@lst.de, ming.lei@redhat.com, narayan@google.com, zezeozue@google.com, kernel-team@android.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, maco@google.com, bvanassche@acm.org, Chaitanya.Kulkarni@wdc.com, jaegeuk@kernel.org Subject: Re: [PATCH v2 4/5] loop: rework lo_ioctl() __user argument casting Message-ID: <20200422174102.GD30852@lst.de> References: <20200422100636.46357-1-maco@android.com> <20200422100636.46357-5-maco@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200422100636.46357-5-maco@android.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 22, 2020 at 12:06:35PM +0200, Martijn Coenen wrote: > In preparation for a new ioctl that needs to copy_from_user(); makes the > code easier to read as well. > > Signed-off-by: Martijn Coenen Looks good, Reviewed-by: Christoph Hellwig