linux-stable/arch/parisc
Gao Xiang 68ce97f7fe parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
commit 4d752e5af6 upstream.

commit b344d6a83d ("parisc: add support for cmpxchg on u8 pointers")
can generate a sparse warning ("cast truncates bits from constant
value"), which has been reported several times [1] [2] [3].

The original code worked as expected, but anyway, let silence such
sparse warning as what others did [4].

[1] https://lore.kernel.org/r/202104061220.nRMBwCXw-lkp@intel.com
[2] https://lore.kernel.org/r/202012291914.T5Agcn99-lkp@intel.com
[3] https://lore.kernel.org/r/202008210829.KVwn7Xeh%25lkp@intel.com
[4] https://lore.kernel.org/r/20210315131512.133720-2-jacopo+renesas@jmondi.org
Cc: Liam Beguin <liambeguin@gmail.com>
Cc: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v5.8+
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-16 11:57:48 +02:00
..
boot parisc: Fix build of compressed kernel even with debug enabled 2019-08-06 19:05:27 +02:00
configs net: Remove CONFIG_NETFILTER_DEBUG and _ASSERT() macros. 2017-09-04 13:25:20 +02:00
include parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers 2021-04-16 11:57:48 +02:00
kernel parisc: Bump 64-bit IRQ stack size to 64 KB 2021-03-07 11:27:45 +01:00
lib parisc: add support for cmpxchg on u8 pointers 2020-08-05 10:06:52 +02:00
math-emu parisc: Fix compiler warnings in float emulation code 2019-06-25 11:36:51 +08:00
mm parisc: Fix kernel panic in mem_init() 2020-06-03 08:18:04 +02:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
defpalo.conf
install.sh
Kconfig parisc: Enable CONFIG_MLONGCALLS by default 2018-08-15 18:12:46 +02:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile parisc: Reintroduce option to gzip-compress the kernel 2017-09-22 22:26:41 +02:00
nm