Subject: Re: build failure after merge of the rcu tree

From: "Paul E. McKenney" <[email-masked]>
Date: Mon, 9 Oct 2017 12:43:41 -0700

On Mon, Oct 09, 2017 at 06:05:40PM +0100, Mark Brown wrote:
> After merging the rcu tree an arm64 defconfig fails to build with:
> 
> /home/broonie/tmpfs/next/drivers/firmware/tegra/ivc.c: In function 'tegra_ivc_ad
> vance_tx':
> /home/broonie/tmpfs/next/drivers/firmware/tegra/ivc.c:154:39: error: lvalue required as left operand of assignment
>   READ_ONCE(ivc->tx.channel->tx.count) =
>                                        ^
> /home/broonie/tmpfs/next/drivers/firmware/tegra/ivc.c: In function 'tegra_ivc_advance_rx':
> /home/broonie/tmpfs/next/drivers/firmware/tegra/ivc.c:165:39: error: lvalue required as left operand of assignment
>   READ_ONCE(ivc->rx.channel->rx.count) =
>                                        ^
> /home/broonie/tmpfs/next/scripts/Makefile.build:313: recipe for target 'drivers/firmware/tegra/ivc.o' failed
> 
> caused by 669f98e232aa6f77bd60 ("drivers/firmware/tegra: Convert
> ACCESS_ONCE() to READ_ONCE()") in the rcu tree.  I've reverted to the
> RCU version from September 28th (which is already in Linus' tree).

And this one is me having failed to push that last fix out.  But the
whole commit is going away in favor of Mark Rutland's Coccinelle script
anyway.

							Thanx, Paul