linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [rcu:rcu/next 48/97] drivers/firmware/tegra/ivc.c:154:39: error: lvalue required as left operand of assignment
@ 2017-10-07  4:47 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-10-07  4:47 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1741 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head:   bd76953f4e7b0b1f66b3fe631106fcc4c85a380c
commit: 669f98e232aa6f77bd602e2826dd55c3694109e5 [48/97] drivers/firmware/tegra: Convert ACCESS_ONCE() to READ_ONCE()
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 669f98e232aa6f77bd602e2826dd55c3694109e5
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/firmware/tegra/ivc.c: In function 'tegra_ivc_advance_tx':
>> drivers/firmware/tegra/ivc.c:154:39: error: lvalue required as left operand of assignment
     READ_ONCE(ivc->tx.channel->tx.count) =
                                          ^
   drivers/firmware/tegra/ivc.c: In function 'tegra_ivc_advance_rx':
   drivers/firmware/tegra/ivc.c:165:39: error: lvalue required as left operand of assignment
     READ_ONCE(ivc->rx.channel->rx.count) =
                                          ^

vim +154 drivers/firmware/tegra/ivc.c

   151	
   152	static inline void tegra_ivc_advance_tx(struct tegra_ivc *ivc)
   153	{
 > 154		READ_ONCE(ivc->tx.channel->tx.count) =
   155			READ_ONCE(ivc->tx.channel->tx.count) + 1;
   156	
   157		if (ivc->tx.position == ivc->num_frames - 1)
   158			ivc->tx.position = 0;
   159		else
   160			ivc->tx.position++;
   161	}
   162	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36749 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-07  4:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-07  4:47 [rcu:rcu/next 48/97] drivers/firmware/tegra/ivc.c:154:39: error: lvalue required as left operand of assignment kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).