diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-01 14:24:46 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-01 16:43:27 -0800 |
commit | ef739f1dd3ac1f47b8c81ce9e201aade9813441c (patch) | |
tree | ad4d729413767e81af0013cbc2721282964627b6 /mm/rodata_test.c | |
parent | 7282c126f7688f697d33f3b965c29bba67fb4eba (diff) | |
download | linux-ef739f1dd3ac1f47b8c81ce9e201aade9813441c.tar.bz2 |
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: 12bbb0d163a9 ("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>
Diffstat (limited to 'mm/rodata_test.c')
0 files changed, 0 insertions, 0 deletions