Re: linux-next: Tree for Dec 17 (drivers/reset/reset-starfive-jh7100.c)

From: Emil Renner Berthing
Date: Fri Dec 17 2021 - 16:53:41 EST


Hi Randy,

On Fri, 17 Dec 2021 at 22:48, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> On 12/17/21 05:33, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20211216:
> >
>
> on i386:
>
> ../drivers/reset/reset-starfive-jh7100.c: In function ‘jh7100_reset_update’:
> ../drivers/reset/reset-starfive-jh7100.c:81:10: error: implicit declaration of function ‘readq’; did you mean ‘readl’? [-Werror=implicit-function-declaration]
> value = readq(reg_assert);
> ^~~~~
> ../drivers/reset/reset-starfive-jh7100.c:86:2: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Werror=implicit-function-declaration]
> writeq(value, reg_assert);
> ^~~~~~

Yes, It needs to include <linux/io-64-nonatomic-lo-hi.h> for compile
testing to work on 32bit architectures without readq.

Arnd: Do I just send a patch or do I redo the pull-request?

/Emil