Files
twx-linux/arch/sparc/include/asm
David S. Miller 2c7552dee5 sparc64: Rework xchg() definition to avoid warnings.
[ Upstream commit 6c2fc9cddc ]

Such as:

fs/ocfs2/file.c: In function ‘ocfs2_file_write_iter’:
./arch/sparc/include/asm/cmpxchg_64.h:55:22: warning: value computed is not used [-Wunused-value]
 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))

and

drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c: In function ‘ixgbevf_xdp_setup’:
./arch/sparc/include/asm/cmpxchg_64.h:55:22: warning: value computed is not used [-Wunused-value]
 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-28 18:28:40 +01:00
..
2016-01-12 20:46:57 +02:00
2019-07-10 09:55:44 +02:00
2015-05-13 10:55:42 +02:00
2014-08-26 13:45:55 -04:00
2018-11-13 11:16:47 -08:00
2014-04-29 01:12:25 -04:00
2013-03-20 11:06:54 -07:00
2016-08-07 23:55:43 -04:00
2017-06-14 15:05:53 +02:00
2014-05-02 01:30:20 -04:00
2019-11-28 18:28:33 +01:00
2017-06-14 15:05:54 +02:00
2016-01-12 20:46:49 +02:00
2016-09-28 20:40:52 -04:00
2016-03-22 15:36:02 -07:00