[GIT PULL] disallow non-scalar accesses for ACCESS_ONCE

From: Christian Borntraeger
Date: Mon Feb 09 2015 - 05:22:33 EST


Linus,

The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0:

Linux 3.19-rc3 (2015-01-05 17:05:20 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/borntraeger/linux.git tags/for-linus

for you to fetch changes up to c5b19946eb76c67566aae6a84bf2b10ad59295ea:

kernel: Fix sparse warning for ACCESS_ONCE (2015-01-19 14:15:00 +0100)

----------------------------------------------------------------
Tighten rules for ACCESS_ONCE

This series tightens the rules for ACCESS_ONCE to only work
on scalar types. It also contains the necessary fixups as
indicated by build bots of linux-next.
Now everything is in place to prevent new non-scalar users
of ACCESS_ONCE and we can continue to convert code to
READ_ONCE/WRITE_ONCE.

----------------------------------------------------------------
Christian Borntraeger (7):
ppc/kvm: Replace ACCESS_ONCE with READ_ONCE
ppc/hugetlbfs: Replace ACCESS_ONCE with READ_ONCE
x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE
x86/spinlock: Leftover conversion ACCESS_ONCE->READ_ONCE
mm/gup: Replace ACCESS_ONCE with READ_ONCE
kernel: tighten rules for ACCESS ONCE
kernel: Fix sparse warning for ACCESS_ONCE

Guenter Roeck (1):
next: sh: Fix compile error

arch/powerpc/kvm/book3s_hv_rm_xics.c | 8 ++++----
arch/powerpc/kvm/book3s_xics.c | 16 ++++++++--------
arch/powerpc/mm/hugetlbpage.c | 4 ++--
arch/sh/mm/gup.c | 2 +-
arch/x86/include/asm/spinlock.h | 4 ++--
arch/x86/xen/p2m.c | 2 +-
include/linux/compiler.h | 21 ++++++++++++++++-----
mm/gup.c | 2 +-
8 files changed, 35 insertions(+), 24 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/