Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp987330imu; Sat, 17 Nov 2018 13:42:02 -0800 (PST) X-Google-Smtp-Source: AJdET5d58kYxWey4BTagj8pMnuMJ/rSw29hcKHsmkm0IRm4/BeJN0iuD6aSN6DnfSxu4Cwew4fKX X-Received: by 2002:a62:571b:: with SMTP id l27-v6mr16940324pfb.209.1542490922893; Sat, 17 Nov 2018 13:42:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542490922; cv=none; d=google.com; s=arc-20160816; b=ubCneSCq/z2bOt9psrwOHoEc/gm99z25FRvskLUrHlFN5tn28tFr3v+i8lK8CrEUmN VMoXi1kvUbnMYBuRSBG/0I+U7wX8qs8xNdHsnkuSPsnTH4GsGvRcnwsmK9fMXg0aBpi/ JDj/oLkBPfR8q1G3VWkKJZxiFRiV4JisRMu8fCyurR+r7RnjbiPT8QXOiENZJgiVyJev hxcGZUYy8dN1h2Xd/zUpns5SBb8YSEnB2OYq+30yvEsCxmyIre9/Wzz9dcGrItL70YqX F4SSV0yhxEF5QcQyt1Xz6WcV2E2lYwW7anrlGLCv3tjP7+IoQW938sAVPmIB34AStNep 75JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=7fZYmwoMQgFfzcnmN/OzzIE7Qwj2nDmxo5qco8HPFWU=; b=oVQC85FfcX9vH+/vs78AMurnolvDGfExPEGRRmgCIhI95WGgGAg4aEm2VZnX1/UWQu 6nb650EISUSf9ltGE9xXZ/a4TxJh6BkaHVXZt5GpJOnOtM86PplstrDqyDQ9Y6UZU97s s2rxCWDD9e208Fz2gIwuAD1Vm933ry6WPJ6X9oGJ42WktjiVkDaXLLBquC3FWJE2J+1Y /ROCcSIUiE8xkNqWP+//I+cs06qJjVuLK1SJzd9/+XifSp4lYiATnYHCR8V9uMeXq/NY Yai3jMK3C9hmNHsBhzywPybc5YHr5CDNXxFAa3DRnHPPA8Ya4sAmLJ2g4BjCjis6LiX5 nP6w== 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 7si12725409pfb.226.2018.11.17.13.41.45; Sat, 17 Nov 2018 13:42:02 -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 S1726510AbeKRH5o convert rfc822-to-8bit (ORCPT + 99 others); Sun, 18 Nov 2018 02:57:44 -0500 Received: from mail.bootlin.com ([62.4.15.54]:48575 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbeKRH5o (ORCPT ); Sun, 18 Nov 2018 02:57:44 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id A0F77207AB; Sat, 17 Nov 2018 22:39:40 +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 xps13 (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id 4AAB9206A7; Sat, 17 Nov 2018 22:39:30 +0100 (CET) Date: Sat, 17 Nov 2018 22:39:29 +0100 From: Miquel Raynal To: Olof Johansson Cc: Boris Brezillon , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: rawnand: qcom: Namespace prefix some commands Message-ID: <20181117223929.20f6852f@xps13> In-Reply-To: <20181117034327.72638-1-olof@lixom.net> References: <20181117034327.72638-1-olof@lixom.net> Organization: Bootlin X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Olof, Olof Johansson wrote on Fri, 16 Nov 2018 19:43:27 -0800: > 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 Boris, do you want to queue this as a fix? Thanks, Miquèl