Re: [PATCH net-next] net: Fix Hisilicon Network Subsystem Support Compilation

From: David Miller
Date: Thu Sep 24 2015 - 13:52:32 EST


From: huangdaode <huangdaode@xxxxxxxxxxxxx>
Date: Thu, 24 Sep 2015 17:54:09 +0800

> 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
>
> Signed-off-by: huangdaode <huangdaode@xxxxxxxxxxxxx>
> Singed-off-by: yankejian <yankejian@xxxxxxxxxx>

This is not necessaily the right fix, sorry.

I'd rather this driver be available to compile on as many
configurations as possible, to increase build coverage.

There is a standard way to make readq available on 32-bit platforms
and I want you to do research into how that works and how you can thus
make your driver build even on 32-bit targets.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/