Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1950566imj; Sun, 10 Feb 2019 14:29:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IaXutvKxpuAXP9AfwRu9D27zdJ+J6r4+DmkE6zyGs3MFHjm6bMGQic5bJ1rPKTWB3Oe4aBO X-Received: by 2002:a62:f907:: with SMTP id o7mr33354162pfh.244.1549837789928; Sun, 10 Feb 2019 14:29:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549837789; cv=none; d=google.com; s=arc-20160816; b=tNP2/iAK1pwG0KybuMiVReB7n+cNnD4TLqXgkB2hVZbJDjoxT/1MqM3n+e9/op+yK+ tkq5rqeiegOp1G9RFJqiEdeo2zJxE7IX5dnf3YYb1W0qUaPgM0CKSMDrDjFNsTAgBXr4 8SD3TNq1pEExXHqUmHYQ1VONA+3o9y5dvO0V6MEL+mvmyNcAAqdNzpKm2F2AffZP81r6 3HEnjkD+jyl7DJ3AZutGCqRU29m2RvhRBqx91BNtcBajqwsJB89bI0ue4I3lBl4Lg4wj YSWbY+glxnGLcKNNtbJqRSx+G+0ElFEc4rZ/4Q63gfVnl2oZ3bQbCNsVTR0pDiIcjvEF HehA== 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=Uc+6LWgflWAeGDIDSiK+nmlnirf3f2Iv2CkWMGRhv5c=; b=HJOryPGBxsYWNM8CkYYnLhMU7JeOddZ6JTZlfMW0ge7k2GOsZnDNOizUtZ8McOPpNP uUerhEooIgD1nmn6YtbpShT8WvGHZhpTGwXA8CwybQb07mc3hn5BEYUfrdWpzFjs4RN3 lDJvmlMRo13IdEOfYhz1Mzc/iVmAoNUmXqnvAyTKofq4lNVhwMYjc+VV9zCvKKcvNyV1 5YL6JpS/EOAspAHwMrlUMKLqPgnB6FbvQV5oU4On97UqZx4kXP2hW4Kn9NwYrg5dVkL5 Qf8oZAl5iZNxhhtRomPqOHyYdYee0l/ZJKW9SiVtZwsxIAcwWwyh6d+Kc8eaBlIALBe1 RgSg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si8381523plo.7.2019.02.10.14.29.20; Sun, 10 Feb 2019 14:29:49 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726244AbfBJW3R (ORCPT + 99 others); Sun, 10 Feb 2019 17:29:17 -0500 Received: from mga14.intel.com ([192.55.52.115]:13727 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfBJW3R (ORCPT ); Sun, 10 Feb 2019 17:29:17 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Feb 2019 14:29:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,356,1544515200"; d="scan'208";a="125412173" Received: from iweiny-desk2.sc.intel.com ([10.3.52.157]) by orsmga003.jf.intel.com with ESMTP; 10 Feb 2019 14:29:15 -0800 Date: Sun, 10 Feb 2019 14:29:03 -0800 From: Ira Weiny To: Thomas Gleixner Cc: Ingo Molnar , Borislav Petkov , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Kirill A. Shutemov" , Dave Hansen , Andrew Morton , Dan Williams Subject: Re: [PATCH] mm/gup.c: Remove unused write variable Message-ID: <20190210222902.GA13720@iweiny-DESK2.sc.intel.com> References: <20190209173109.9361-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 10, 2019 at 08:39:44PM +0100, Thomas Gleixner wrote: > Ira, > > On Sat, 9 Feb 2019, ira.weiny@intel.com wrote: > > nice patch. Just a few nitpicks vs. the subject and the change log. > > > Subject: [PATCH] mm/gup.c: Remove unused write variable > > We usually avoid filenames in the subsystem prefix. mm/gup: is sufficient. Thanks. > > But what's a bit more confusing is 'write variable'. You are not removing a > variable, you are removing a unused function argument. That's two different > things. Indeed my mistake. > > > write is unused in gup_fast_permitted so remove it. > > When referencing functions please use brackets so it's clear that you talk > about a function, i.e. gup_fast_permitted(). > > So the correct subject line would be: > > Subject: [PATCH] mm/gup: Remove write argument from gup_fast_permitted() NP, V2 on its way, Ira > > Thanks, > > tglx