linux/net/smc
Jakub Kicinski ef739f1dd3 net: smc: fix different types in min()
Fix build:

 include/linux/minmax.h:45:25: note: in expansion of macro ‘__careful_cmp’
   45 | #define min(x, y)       __careful_cmp(x, y, <)
      |                         ^~~~~~~~~~~~~
 net/smc/smc_tx.c:150:24: note: in expansion of macro ‘min’
  150 |         corking_size = min(sock_net(&smc->sk)->smc.sysctl_autocorking_size,
      |                        ^~~

Fixes: 12bbb0d163 ("net/smc: add sysctl for autocorking")
Link: https://lore.kernel.org/r/20220301222446.1271127-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-01 16:43:27 -08:00
..
af_smc.c net/smc: don't send in the BH context if sock_owned_by_user 2022-03-01 14:25:12 +00:00
Kconfig
Makefile net/smc: add sysctl interface for SMC 2022-03-01 14:25:12 +00:00
smc_cdc.c net/smc: don't send in the BH context if sock_owned_by_user 2022-03-01 14:25:12 +00:00
smc_cdc.h
smc_clc.c
smc_clc.h
smc_close.c
smc_close.h
smc_core.c net/smc: correct settings of RMB window update limit 2022-03-01 14:25:12 +00:00
smc_core.h
smc_diag.c
smc_ib.c
smc_ib.h
smc_ism.c
smc_ism.h
smc_llc.c
smc_llc.h
smc_netlink.c
smc_netlink.h
smc_netns.h
smc_pnet.c
smc_pnet.h
smc_rx.c
smc_rx.h
smc_stats.c
smc_stats.h
smc_sysctl.c net/smc: add sysctl for autocorking 2022-03-01 14:25:12 +00:00
smc_sysctl.h net/smc: add sysctl interface for SMC 2022-03-01 14:25:12 +00:00
smc_tracepoint.c
smc_tracepoint.h
smc_tx.c net: smc: fix different types in min() 2022-03-01 16:43:27 -08:00
smc_tx.h
smc_wr.c net/smc: don't req_notify until all CQEs drained 2022-03-01 14:25:12 +00:00
smc_wr.h
smc.h net/smc: don't send in the BH context if sock_owned_by_user 2022-03-01 14:25:12 +00:00