Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1478630imu; Sun, 18 Nov 2018 02:37:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/X38sJ997IL0qOOQKq2/gP4iVxRvyB3U7pqbgMR5V1KaQcafPnfS1PoRDgbE0BDGqaIclsc X-Received: by 2002:a17:902:7686:: with SMTP id m6mr3850200pll.179.1542537444564; Sun, 18 Nov 2018 02:37:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542537444; cv=none; d=google.com; s=arc-20160816; b=fwcPO1f3MHsmLDrllDPt/Lo/ZiMEm0HglzRKxWZAucVjnGRq1LNNLvY32ieG36RETO XDBNCptFfPIPHU2KW7wlqUgL3eYiAN5by+KBoEnDYIW3CXOxG4Jq3yNhOrxUDu0I7yhI qc//sbN/f4Wd7+36YI5wz3wb53hHcxITUL35DqafG3Tq0vbCDxkieh6yVo91h0uKyAon 1o2F0YlFgF3iRrC15EZfAT+3SQDihyXikoI1+zw9vRychQNHIK/GeQIqgydbT/rODJnD VxRmFMfo6E01rkAIcBrsY+TnvSdUkqCcVtFlTfv3xwNFVWdLaIhz03RH621Ytcje+itF 88jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from; bh=3/KtEyqv87tsw3P1oucbh3XXoyJYW+A4kWU9V6BZMw8=; b=TLqZ83u65czpSE690AWiOyZQ2HhxApWrWf6AsBWqY6Mew+m8jhKm5Am6jtzr3N1+/i a5IpgYOwL/BvvPlhXvnzXqDwJJ3dPbMQNxLPFBBClvZ8Tf3loHnbLPEvMa1WMwPm1Swl d7+bl9LWFfZ/vlBxFO5mofWFs28890vVywbnLcC78968ZPPjHsoYzFIMulrmjlL/SDqA nMAv0V8LwcK409roWtiqj9G/QR3NsEBjPItKyOadZFUOOwLr44NI/ZQZiuHcz/c3X+hY vYlq+gSEVKSVuYB+pcHUulS14p/aAH5um5W72Z81v5J5ucNUMvwoCiG7n9RzyXs6ZwAv XKtg== 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 3-v6si36537664plz.12.2018.11.18.02.36.39; Sun, 18 Nov 2018 02:37:24 -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 S1726964AbeKRUzR (ORCPT + 99 others); Sun, 18 Nov 2018 15:55:17 -0500 Received: from mail.bootlin.com ([62.4.15.54]:52217 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbeKRUzR (ORCPT ); Sun, 18 Nov 2018 15:55:17 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id E4FD520791; Sun, 18 Nov 2018 11:35:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost.localdomain (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id B547A2037D; Sun, 18 Nov 2018 11:35:19 +0100 (CET) From: Boris Brezillon To: Olof Johansson Cc: Boris Brezillon , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: mtd: rawnand: qcom: Namespace prefix some commands Date: Sun, 18 Nov 2018 11:35:19 +0100 Message-Id: <20181118103519.25189-1-boris.brezillon@bootlin.com> X-Mailer: git-send-email 2.17.1 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: 33bf5519ae5dd356b182a94e3622f42860274a38 In-Reply-To: <20181117034327.72638-1-olof@lixom.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2018-11-17 at 03:43:27 UTC, Olof Johansson wrote: > PAGE_READ is used by RISC-V arch code included through mm headers, > and it makes sense to bring in a prefix on these in the driver. > > drivers/mtd/nand/raw/qcom_nandc.c:153: warning: "PAGE_READ" redefined > #define PAGE_READ 0x2 > In file included from include/linux/memremap.h:7, > from include/linux/mm.h:27, > from include/linux/scatterlist.h:8, > from include/linux/dma-mapping.h:11, > from drivers/mtd/nand/raw/qcom_nandc.c:17: > arch/riscv/include/asm/pgtable.h:48: note: this is the location of the previous definition > > Caught by riscv allmodconfig. > > Signed-off-by: Olof Johansson > Reviewed-by: Miquel Raynal Applied to http://git.infradead.org/linux-mtd.git master, thanks. Boris