Helge Deller
018cb55504
parisc: Fix compiler warnings in debug_core.c
...
[ Upstream commit 75cf9797006a3a9f29a3a25c1febd6842a4a9eb2 ]
Fix this compiler warning:
kernel/debug/debug_core.c: In function ‘kgdb_cpu_enter’:
arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value]
48 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
arch/parisc/include/asm/atomic.h:78:30: note: in expansion of macro ‘xchg’
78 | #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
| ^~~~
kernel/debug/debug_core.c:596:4: note: in expansion of macro ‘atomic_xchg’
596 | atomic_xchg(&kgdb_active, cpu);
| ^~~~~~~~~~~
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-12 11:24:25 +01:00
..
2019-02-20 10:18:32 +01:00
2019-11-28 18:29:03 +01:00
2020-01-12 11:24:21 +01:00
2020-01-12 11:24:15 +01:00
2017-12-20 10:07:32 +01:00
2017-03-31 10:31:46 +02:00
2017-01-12 11:39:24 +01:00
2018-05-19 10:27:00 +02:00
2019-04-05 22:29:05 +02:00
2018-10-10 08:53:21 +02:00
2019-10-05 12:30:20 +02:00
2019-11-28 18:28:22 +01:00
2017-05-25 15:44:46 +02:00
2019-12-05 15:34:24 +01:00
2020-01-12 11:24:12 +01:00
2018-02-17 13:21:20 +01:00
2017-04-12 12:41:14 +02:00
2019-12-05 15:34:41 +01:00
2020-01-12 11:24:25 +01:00
2020-01-12 11:24:22 +01:00
2020-01-12 11:24:19 +01:00
2020-01-04 13:39:31 +01:00
2019-11-28 18:28:40 +01:00
2020-01-12 11:24:19 +01:00
2019-12-05 15:34:56 +01:00
2020-01-12 11:24:24 +01:00
2019-12-21 10:42:30 +01:00
2018-08-15 18:14:46 +02:00