aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-26 15:39:49 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-26 15:39:49 -0700
commit6c2fc9cddc1ffdef8ada1dc8404e5affae849953 (patch)
tree97fedebf6d631326b7e25a5d4b68b3b36f600473 /drivers/net/ethernet/intel/i40e
parentsparc64: Export __node_distance. (diff)
downloadlinux-dev-6c2fc9cddc1ffdef8ada1dc8404e5affae849953.tar.xz
linux-dev-6c2fc9cddc1ffdef8ada1dc8404e5affae849953.zip
sparc64: Rework xchg() definition to avoid warnings.
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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e')
0 files changed, 0 insertions, 0 deletions