========== build_allmodconfig_warn - FAILED ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr ../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash ../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) ../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr ../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1050:24: expected unsigned int [usertype] a ../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1052:24: expected unsigned int [usertype] a ../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths ../net/rds/send.c:1457:30: got restricted __be16 [usertype] ../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num ../net/rds/send.c:1458:34: got restricted __be32 [usertype] ../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port ../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] ../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr ../net/rds/tcp_listen.c:308:38: got unsigned long ../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port ../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kasan/kasan_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr ../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash ../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) ../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr ../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash ../net/rds/connection.c:174:55: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:174:55: expected unsigned int [usertype] a ../net/rds/connection.c:174:55: got restricted __be32 const ../net/rds/connection.c:175:55: warning: incorrect type in argument 2 (different base types) ../net/rds/connection.c:175:55: expected unsigned int [usertype] b ../net/rds/connection.c:175:55: got restricted __be32 const ../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port ../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] ../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr ../net/rds/tcp_listen.c:308:38: got unsigned long ../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port ../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] ../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1050:24: expected unsigned int [usertype] a ../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1052:24: expected unsigned int [usertype] a ../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths ../net/rds/send.c:1457:30: got restricted __be16 [usertype] ../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num ../net/rds/send.c:1458:34: got restricted __be32 [usertype] WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kasan/kasan_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o New errors added --- /tmp/tmp.TaKcH7q8Vu 2025-04-11 11:55:06.417689064 -0700 +++ /tmp/tmp.m1RdaSpxcQ 2025-04-11 11:56:26.057973650 -0700 @@ -3,0 +4,2 @@ +../net/rds/recv.c:218:42: warning: cast to restricted __be16 +../net/rds/recv.c:222:44: warning: cast to restricted __be32 @@ -10,2 +12,15 @@ -../net/rds/recv.c:218:42: warning: cast to restricted __be16 -../net/rds/recv.c:222:44: warning: cast to restricted __be32 +../net/rds/connection.c:174:55: warning: incorrect type in argument 1 (different base types) +../net/rds/connection.c:174:55: expected unsigned int [usertype] a +../net/rds/connection.c:174:55: got restricted __be32 const +../net/rds/connection.c:175:55: warning: incorrect type in argument 2 (different base types) +../net/rds/connection.c:175:55: expected unsigned int [usertype] b +../net/rds/connection.c:175:55: got restricted __be32 const +../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) +../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port +../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] +../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) +../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr +../net/rds/tcp_listen.c:308:38: got unsigned long +../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) +../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port +../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] @@ -24,9 +38,0 @@ -../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) -../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port -../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] -../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) -../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr -../net/rds/tcp_listen.c:308:38: got unsigned long -../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) -../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port -../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] Per-file breakdown --- /tmp/tmp.MzCLnuNv0r 2025-04-11 11:56:26.064540351 -0700 +++ /tmp/tmp.Np7yw8mBpr 2025-04-11 11:56:26.066540330 -0700 @@ -2 +2 @@ - 2 ../net/rds/connection.c + 4 ../net/rds/connection.c