[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201710071231.ChKvOgOZ%fengguang.wu@intel.com>
Date: Sat, 7 Oct 2017 12:47:36 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [rcu:rcu/next 48/97] drivers/firmware/tegra/ivc.c:154:39: error:
lvalue required as left operand of assignment
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
Download attachment ".config.gz" of type "application/gzip" (36749 bytes)
Powered by blists - more mailing lists