From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755447AbbIYIAF (ORCPT ); Fri, 25 Sep 2015 04:00:05 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:19674 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753483AbbIYIAC (ORCPT ); Fri, 25 Sep 2015 04:00:02 -0400 Message-ID: <5604FDF6.5050604@hisilicon.com> Date: Fri, 25 Sep 2015 15:55:34 +0800 From: huangdaode User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: David Miller CC: , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation References: <1443163643-112192-1-git-send-email-huangdaode@hisilicon.com> <20150925.001212.866826387271637011.davem@davemloft.net> In-Reply-To: <20150925.001212.866826387271637011.davem@davemloft.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.61.13.165] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020206.5604FE33.0071,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: e6c243bba74001c588d9fe30059d593f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015/9/25 15:12, David Miller wrote: > From: huangdaode > Date: Fri, 25 Sep 2015 14:47:23 +0800 > >> @@ -966,7 +966,15 @@ static inline u32 dsaf_get_reg_field(void *base, u32 reg, u32 mask, u32 shift) >> #define dsaf_read_b(addr)\ >> readb((__iomem unsigned char *)(addr)) >> >> +#ifndef readq >> +static inline u64 readq(void __iomem *reg) >> +{ > Nope, try instead "#include "#include > . > yes, it's defined in #include . will fix in v3, thanks