Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1003962ybb; Wed, 25 Mar 2020 13:44:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvsRJCsIobI+x8PURTyxykm8P5SqWU1Ck14/1KX3GlZ60+GGN80Vf/4WMM+2TJtQTHiG1rh X-Received: by 2002:a05:6830:1313:: with SMTP id p19mr4061827otq.179.1585169091608; Wed, 25 Mar 2020 13:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585169091; cv=none; d=google.com; s=arc-20160816; b=Oz0t3YDXtuWwp7klD2RWdnIVbWJ0luUPdOiSR2Srdf8f75UtkAG0T1wtM7QD93IyVp 8g357FS/JQzPNgT2UCU3Y8CrbOaZQgJoab7QDLsk2m3V0FfqAy1rXDkc+Czq2nipM/UC vRE4yx0uXMbcNboyF0mS1gvec7k0dAGDmhDJAhS+pIoJuzqGRqP2uCJQ96rw0AlixUOp qaTAR3MiWiv505oEk93hdj0NzB7HutHQapmMl1WzuNRj/tUpoU1TsQtCJUfu7CS3HMEd g7a5L8ZER92Vg5I60nlv0Z2UAzHQmothzCsQwfaC05+frcP0Uh8XYK9y8gb0wenyzaG9 QXOQ== 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:dkim-signature; bh=W/u0egIaVk/rPb1Fs/IEesfVMeW0O+cNLBIAZA6RI6s=; b=L78gOgHXMP8B5x5YZORolgd+uxgqIVJ+XEJmAUKStFsN8IsarUawmJCEnhUugOWOty Gf8Rm7Aj9ROjmCD6HG6bIjHooAVtpe2YvXiHYPGBI2DKCGaT4xaa5j8NAbHNH3zdVJcz 8+nIU3dBEzLlnAQHhxNyUCvCH0DQJ4L4C/O8Y4ekjJrPJ9yuwu0YAXX29NS0eSfq4a0e 7Pq5RdBrZ0VRAuroX43nLhgDc56ndlMmlEq4S//Yk3atLe9IdHefqkIA1fvek1Cw2MBx BQq8+M06Jb9qbpH0PkT5C9U/glQOAv31l34tPMvSqv2SJOLmbhkHW2mrA7qQ3ytvOLQf 0bQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aqKJLHrd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4si48333oic.213.2020.03.25.13.44.38; Wed, 25 Mar 2020 13:44:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aqKJLHrd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbgCYUnt (ORCPT + 99 others); Wed, 25 Mar 2020 16:43:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:49448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727280AbgCYUnt (ORCPT ); Wed, 25 Mar 2020 16:43:49 -0400 Received: from redsun51.ssa.fujisawa.hgst.com (unknown [199.255.47.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E20E420719; Wed, 25 Mar 2020 20:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585169028; bh=T6327siDwkSjwKtOzgPrqLAlLzoOEv2d9CmcijfXG+4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aqKJLHrdgND8zJ7x0P6RqLnlP29rB29a2aTwVY9TjVgg91wWiXqM6DOYSN4EpXBWt 3NgAfNYb20cmTVrchfsW2lwKVzIR5xdVQpLTPkBYvtQZHkthbNTRXk8BapOg3ktUjh 6KyHnpUjxlcA3ecrCjtV8bYAXZgl6JN1cLhxQaxI= Date: Thu, 26 Mar 2020 05:43:43 +0900 From: Keith Busch To: Christoph Hellwig Cc: Nick Bowler , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvme: Fix NVME_IOCTL_ADMIN_CMD compat address handling. Message-ID: <20200325204343.GB4960@redsun51.ssa.fujisawa.hgst.com> References: <20200325002847.2140-1-nbowler@draconx.ca> <20200325191103.GA6495@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200325191103.GA6495@infradead.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 25, 2020 at 12:11:03PM -0700, Christoph Hellwig wrote: > A couple of comments: > > No need for the "." the end of the subject line. > > I also think you should just talk of the nvme_user_cmd function, > as that also is used for the NVME_IOCTL_IO_CMD ioctl. Also there now > is a nvme_user_cmd64 variant that needs the same fix, can you also > include that? Yes, this patch should get those cases too. I unstaged this patch for now, could you send a v2 with the suggestions?