Helge Deller
b8e4c8c874
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:22:50 +01:00
..
2019-02-20 10:13:22 +01:00
2019-11-28 18:26:16 +01:00
2020-01-12 11:22:47 +01:00
2020-01-04 13:34:14 +01:00
2016-10-07 15:23:45 +02:00
2017-12-20 10:05:00 +01:00
2017-03-31 09:49:53 +02:00
2018-12-17 21:55:16 +01:00
2018-05-26 08:48:50 +02:00
2019-04-27 09:33:48 +02:00
2018-10-10 08:52:12 +02:00
2019-10-05 12:27:47 +02:00
2016-09-24 10:07:43 +02:00
2019-07-10 09:56:42 +02:00
2017-05-25 14:30:16 +02:00
2019-12-05 15:26:47 +01:00
2020-01-12 11:22:41 +01:00
2018-02-16 20:09:47 +01:00
2017-04-12 12:38:34 +02:00
2019-12-05 15:26:54 +01:00
2020-01-12 11:22:50 +01:00
2020-01-12 11:22:48 +01:00
2020-01-12 11:22:45 +01:00
2016-09-24 10:07:44 +02:00
2020-01-04 13:34:14 +01:00
2019-11-28 18:25:52 +01:00
2020-01-12 11:22:46 +01:00
2019-12-05 15:27:01 +01:00
2015-11-11 09:16:10 -08:00
2020-01-12 11:22:46 +01:00
2019-12-21 10:35:43 +01:00