Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030572AbeAONaG (ORCPT + 1 other); Mon, 15 Jan 2018 08:30:06 -0500 Received: from mail-ua0-f196.google.com ([209.85.217.196]:39287 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752438AbeAON3h (ORCPT ); Mon, 15 Jan 2018 08:29:37 -0500 X-Google-Smtp-Source: ACJfBovl2sRqzXx54fM70K5Dpymnwas6rsjrSluUiFuYf4AzUpHIBd8NmJb7rO3+80iPGafsrhH7hB4XRsaSW93S+6c= MIME-Version: 1.0 In-Reply-To: <20180115130728.GG13019@lianli.shorne-pla.net> References: <3e5ba33674a883b56e20b35ea9ae34990ea838c8.1515766253.git.green.hu@gmail.com> <20180115130728.GG13019@lianli.shorne-pla.net> From: Greentime Hu Date: Mon, 15 Jan 2018 21:28:55 +0800 Message-ID: Subject: Re: [PATCH v6 02/36] openrisc: add ioremap_nocache declaration before include asm-generic/io.h and sync ioremap prototype with it. To: Stafford Horne Cc: Greentime , Linux Kernel Mailing List , Arnd Bergmann , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , netdev , Vincent Chen , DTML , Al Viro , David Howells , Will Deacon , Daniel Lezcano , linux-serial@vger.kernel.org, Geert Uytterhoeven , Linus Walleij , Mark Rutland , Greg KH , Guo Ren , Randy Dunlap , David Miller , Jonas Bonn , Stefan Kristiansson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 2018-01-15 21:07 GMT+08:00 Stafford Horne : > On Mon, Jan 15, 2018 at 01:53:10PM +0800, Greentime Hu wrote: >> From: Greentime Hu >> >> It will be built failed if commit id: d25ea659 is selected. This patch can fix this >> build error. > > Hello, > > As I mentioned last time, can you you change this to not mention the commit id? > The ID will probably change when this is actually committed. You might want to > do something like: > > 1. Move this commit before the ioremap_nocache change. This is because we want > each commit to result in a buildable kernel. > > 2. The text here and other changes could read: > > A future commit for the nds32 architecture bootstrap ("asm-generic/io.h: move > ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU") > will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that > in order to suppress re-definition errors we need to setup #define's before > importing asm-generic/io.h. > > Also, the change adds a prototype for ioremap where size is size_t so fix that > as well. > > I hope that helps. But for the change: > > Acked-by: Stafford Horne > Hi, Stafford: Thanks for the feedback. I will move this commit before the ioremap_nocache change and use these commit messages.