linux-stable/arch
Arnd Bergmann 9cc91f2121 xen: avoid type warning in xchg_xen_ulong
The improved type-checking version of container_of() triggers a warning for
xchg_xen_ulong, pointing out that 'xen_ulong_t' is unsigned, but atomic64_t
contains a signed value:

drivers/xen/events/events_2l.c: In function 'evtchn_2l_handle_events':
drivers/xen/events/events_2l.c:187:1020: error: call to '__compiletime_assert_187' declared with attribute error: pointer type mismatch in container_of()

This adds a cast to work around the warning.

Cc: Ian Abbott <abbotti@mev.co.uk>
Fixes: 85323a991d ("xen: arm: mandate EABI and use generic atomic operations.")
Fixes: daa2ac80834d ("kernel.h: handle pointers to arrays better in container_of()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Ian Abbott <abbotti@mev.co.uk>
2017-06-08 15:07:38 -07:00
..
alpha osf_wait4(): fix infoleak 2017-05-21 13:10:07 -04:00
arc
arm xen: avoid type warning in xchg_xen_ulong 2017-06-08 15:07:38 -07:00
arm64 ACPI-related fixes for arm64: 2017-06-02 12:06:27 -07:00
blackfin
c6x
cris devicetree: Move include prefixes from arch to separate directory 2017-05-18 23:55:48 -07:00
frv frv: declare jiffies to be located in the .data section 2017-06-02 15:07:37 -07:00
h8300
hexagon
ia64
m32r
m68k
metag devicetree: Move include prefixes from arch to separate directory 2017-05-18 23:55:48 -07:00
microblaze
mips kthread: fix boot hang (regression) on MIPS/OpenRISC 2017-05-29 09:40:54 -07:00
mn10300
nios2
openrisc kthread: fix boot hang (regression) on MIPS/OpenRISC 2017-05-29 09:40:54 -07:00
parisc
powerpc powerpc fixes for 4.12 #4 2017-05-27 09:28:34 -07:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-05-16 09:24:44 -07:00
score
sh
sparc sparc/ftrace: Fix ftrace graph time measurement 2017-05-17 12:07:47 -07:00
tile
um Merge branch 'for-linus-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2017-05-13 10:20:02 -07:00
unicore32
x86 xen: fix HYPERVISOR_dm_op() prototype 2017-06-08 19:40:14 +02:00
xtensa
.gitignore
Kconfig