From: huangdaode@hisilicon.com (huangdaode)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation
Date: Fri, 25 Sep 2015 15:55:34 +0800 [thread overview]
Message-ID: <5604FDF6.5050604@hisilicon.com> (raw)
In-Reply-To: <20150925.001212.866826387271637011.davem@davemloft.net>
On 2015/9/25 15:12, David Miller wrote:
> From: huangdaode <huangdaode@hisilicon.com>
> 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 <asm/io-64-nonatomic-lo-hi.h" or
> "#include <asm/io-64-nonatomic-hi-lo.h".
>
> .
>
yes, it's defined in #include <asm-generic/io-64-nonatomic-hi-lo.h>.
will fix in v3,
thanks
WARNING: multiple messages have this Message-ID (diff)
From: huangdaode <huangdaode@hisilicon.com>
To: David Miller <davem@davemloft.net>
Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
catalin.marinas@arm.com, will.deacon@arm.com,
liguozhu@hisilicon.com, Yisen.Zhuang@huawei.com,
paul.gortmaker@windriver.com, dingtianhong@huawei.com,
zhangfei.gao@linaro.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
linuxarm@huawei.com, salil.mehta@huawei.com,
kenneth-lee-2012@foxmail.com, xuwei5@hisilicon.com,
lisheng011@huawei.com
Subject: Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation
Date: Fri, 25 Sep 2015 15:55:34 +0800 [thread overview]
Message-ID: <5604FDF6.5050604@hisilicon.com> (raw)
In-Reply-To: <20150925.001212.866826387271637011.davem@davemloft.net>
On 2015/9/25 15:12, David Miller wrote:
> From: huangdaode <huangdaode@hisilicon.com>
> 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 <asm/io-64-nonatomic-lo-hi.h" or
> "#include <asm/io-64-nonatomic-hi-lo.h".
>
> .
>
yes, it's defined in #include <asm-generic/io-64-nonatomic-hi-lo.h>.
will fix in v3,
thanks
WARNING: multiple messages have this Message-ID (diff)
From: huangdaode <huangdaode@hisilicon.com>
To: David Miller <davem@davemloft.net>
Cc: <robh+dt@kernel.org>, <pawel.moll@arm.com>,
<mark.rutland@arm.com>, <ijc+devicetree@hellion.org.uk>,
<galak@codeaurora.org>, <catalin.marinas@arm.com>,
<will.deacon@arm.com>, <liguozhu@hisilicon.com>,
<Yisen.Zhuang@huawei.com>, <paul.gortmaker@windriver.com>,
<dingtianhong@huawei.com>, <zhangfei.gao@linaro.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>, <netdev@vger.kernel.org>,
<linuxarm@huawei.com>, <salil.mehta@huawei.com>,
<kenneth-lee-2012@foxmail.com>, <xuwei5@hisilicon.com>,
<lisheng011@huawei.com>
Subject: Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation
Date: Fri, 25 Sep 2015 15:55:34 +0800 [thread overview]
Message-ID: <5604FDF6.5050604@hisilicon.com> (raw)
In-Reply-To: <20150925.001212.866826387271637011.davem@davemloft.net>
On 2015/9/25 15:12, David Miller wrote:
> From: huangdaode <huangdaode@hisilicon.com>
> 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 <asm/io-64-nonatomic-lo-hi.h" or
> "#include <asm/io-64-nonatomic-hi-lo.h".
>
> .
>
yes, it's defined in #include <asm-generic/io-64-nonatomic-hi-lo.h>.
will fix in v3,
thanks
next prev parent reply other threads:[~2015-09-25 7:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-25 6:47 [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation huangdaode
2015-09-25 6:47 ` huangdaode
2015-09-25 6:47 ` huangdaode
2015-09-25 6:47 ` huangdaode
2015-09-25 7:12 ` David Miller
2015-09-25 7:12 ` David Miller
2015-09-25 7:12 ` David Miller
2015-09-25 7:55 ` huangdaode [this message]
2015-09-25 7:55 ` huangdaode
2015-09-25 7:55 ` huangdaode
2015-09-25 8:10 ` huangdaode
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5604FDF6.5050604@hisilicon.com \
--to=huangdaode@hisilicon.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.