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
+st
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
This patch fixes the compilation error with arm allmodconfig, this error
generated due to unavailability of readq() on 32-bit platform which was
found during net-next daily compilation. In the same time, fix all the
hns drivers compilation warnings.
Signed-off-by: huangdaode
Signed-off-by: zhaung