Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1844498imj; Sun, 10 Feb 2019 11:40:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IYREibb2E7YBbzjS2fvgNZwo7kbgbT/TTm3qeAdhAWmX36BhIreIRjLUnrlkMg5lhv+y8Vc X-Received: by 2002:a17:902:a588:: with SMTP id az8mr29538346plb.77.1549827634272; Sun, 10 Feb 2019 11:40:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549827634; cv=none; d=google.com; s=arc-20160816; b=PstlZ1IM7pg8lMjWHWJfcN/3P5rPccRdzOajH3DDTzIXHvNVjR/xF25VKoGYtWqxMC FooDActjOanFO1tKVo6pi7m9H+4FMC8u1Fyzun0zdbfj94qJ+QiKxHYr+iKx0mo1YcmJ X8wSXfmq5TlxbYv0oUUsIScW2Niv0B5XUK4+U36G2oEMZfwSiA6a8DjV/CB5EmIIydxl 6cTLasuONSybGbIZsemtDbpXOYjaPNfuL9mshXELT67vFuIk0A++E0a1EYnnWs77UkhY tfT2SWlRsOy1Q5zBxn5VE80W7uGMC3zQmKZSkGOlZ4z4rhakZgTXcj9PI4DmTxy8oixl LiKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=QO3Z0vOdGNa4Bgr83ZCmIOhuWPD5CZaXR4TS+JbfVms=; b=NckYNLKq2uNozwP5GubsdH1PV8t6+Yz6B04qkj/iBAsGf9isZ0OMV+gkkGl3DoPbMd /1X+5XNhJGC73zgrZcOcvI85jXKZ1n//WPbJPM+64J8Csga2vAzl4g88z/rTnYFNBuH2 Nl1ri9R5kVx61wlmbDJv/mesXnEtydtOQuDfm3OEMtih5bVqXZHWeToDMjcLaayMuhxs A1MjTf/BZdsX5ikPtuJ4wMVrMApnTmmwYd5++z1pof+CwIlFj1e5QP+a4mXTU6drySl5 aId/Et3+mhwjBd+9EI5oAlQ7SV/V5QSqGK2VXtxI+f9DBchb/tlIphxpAM+eh2iZe4o+ bLsg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m24si7313901pgv.472.2019.02.10.11.40.17; Sun, 10 Feb 2019 11:40:34 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726120AbfBJTjz (ORCPT + 99 others); Sun, 10 Feb 2019 14:39:55 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:37299 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbfBJTjz (ORCPT ); Sun, 10 Feb 2019 14:39:55 -0500 Received: from p5492e0d8.dip0.t-ipconnect.de ([84.146.224.216] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gsux6-0000J7-Mf; Sun, 10 Feb 2019 20:39:44 +0100 Date: Sun, 10 Feb 2019 20:39:44 +0100 (CET) From: Thomas Gleixner To: Ira Weiny 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 In-Reply-To: <20190209173109.9361-1-ira.weiny@intel.com> Message-ID: References: <20190209173109.9361-1-ira.weiny@intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. > 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() Thanks, tglx