[rcu:rcu/next 93/97] include/linux/pm_runtime.h:108:34: error: lvalue required as left operand of assignment
From: kbuild test robot
Date: Fri Oct 06 2017 - 22:10:47 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head: f561b44bd4bd0518dc12c5d112bf3c9fb8ec56e7
commit: bb506b193f6f9bea58316cedceec18e680f93161 [93/97] include/linux: Convert ACCESS_ONCE() to READ_ONCE()
config: i386-randconfig-x001-201740 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout bb506b193f6f9bea58316cedceec18e680f93161
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/realtek/r8169.c:26:0:
include/linux/pm_runtime.h: In function 'pm_runtime_mark_last_busy':
>> include/linux/pm_runtime.h:108:34: error: lvalue required as left operand of assignment
READ_ONCE(dev->power.last_busy) = jiffies;
^
vim +108 include/linux/pm_runtime.h
105
106 static inline void pm_runtime_mark_last_busy(struct device *dev)
107 {
> 108 READ_ONCE(dev->power.last_busy) = jiffies;
109 }
110
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip