Skip to content
Snippets Groups Projects
user avatar
Will Deacon authored
It's a bit weird that WRITE_ONCE() evaluates to the value it stores and
it's different to smp_store_release(), which can't be used this way.

In preparation for preventing this in WRITE_ONCE(), change the fault
injection code to use a local variable instead.

Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
9b4fb5ce
Name Last commit Last update