Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932708AbdLRLpe (ORCPT ); Mon, 18 Dec 2017 06:45:34 -0500 Received: from mail-ua0-f178.google.com ([209.85.217.178]:39253 "EHLO mail-ua0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757935AbdLRLpb (ORCPT ); Mon, 18 Dec 2017 06:45:31 -0500 X-Google-Smtp-Source: ACJfBotXWoQg4ayMdSyLEHsCwyT0+Ivx9/yOnewEquH3I5pCcR4mRX6RtisV2PRFOPbovK+YOoBcXRiWc5irhiqqMOY= MIME-Version: 1.0 In-Reply-To: References: From: Greentime Hu Date: Mon, 18 Dec 2017 19:44:49 +0800 Message-ID: Subject: Re: [PATCH v4 13/36] nds32: Device specific operations To: Arnd Bergmann Cc: Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , 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 , Philippe Ombredanne , Vincent Chen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 408 Lines: 13 2017-12-18 19:26 GMT+08:00 Arnd Bergmann : > On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: > >> +#define __ASM_NDS32_IO_H >> + >> +extern void iounmap(void __iomem *addr); > > The prototype here should probably include 'volatile' to avoid warnings in an > allmodconfig build. > Thanks. I will update it like this. extern void iounmap(volatile void __iomem *addr);