Content-Type: multipart/mixed; boundary="===============6276387782077179404==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH v2 13/45] mptcp: Add key generation and token tree Date: Thu, 03 Oct 2019 10:01:57 +0800 Message-ID: <201910031020.y9FLBWp4%lkp@intel.com> In-Reply-To: <20191002233655.24323-14-mathew.j.martineau@linux.intel.com> List-Id: --===============6276387782077179404== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Mat, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on net/master] [cannot apply to v5.4-rc1 next-20191002] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Mat-Martineau/Multipath-TC= P/20191003-074736 reproduce: # apt-get install sparse # sparse version: v0.6.1-rc1-7-g2b96cd8-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) include/linux/sched.h:595:43: sparse: sparse: bad integer constant expre= ssion include/linux/sched.h:595:73: sparse: sparse: invalid named zero-width b= itfield `value' include/linux/sched.h:596:43: sparse: sparse: bad integer constant expre= ssion include/linux/sched.h:596:67: sparse: sparse: invalid named zero-width b= itfield `bucket_id' >> net/mptcp/token.c:164:17: sparse: sparse: incompatible types in comparis= on expression (different address spaces): >> net/mptcp/token.c:164:17: sparse: void [noderef] * >> net/mptcp/token.c:164:17: sparse: int * vim +164 net/mptcp/token.c 145 = 146 /** 147 * mptcp_token_update_accept - update token to map to mptcp socket 148 * @conn: the new struct mptcp_sock 149 * @sk: the initial subflow for this mptcp socket 150 * 151 * Called when the first mptcp socket is created on accept to 152 * refresh the dummy mapping (done to reserve the token) with 153 * the mptcp_socket structure that wasn't allocated before. 154 */ 155 void mptcp_token_update_accept(struct sock *sk, struct sock *conn) 156 { 157 struct mptcp_subflow_context *subflow =3D mptcp_subflow_ctx(sk); 158 void __rcu **slot; 159 = 160 spin_lock_bh(&token_tree_lock); 161 slot =3D radix_tree_lookup_slot(&token_tree, subflow->token); 162 WARN_ON_ONCE(!slot); 163 if (slot) { > 164 WARN_ON_ONCE(*slot !=3D &token_used); 165 *slot =3D conn; 166 } 167 spin_unlock_bh(&token_tree_lock); 168 } 169 = --- 0-DAY kernel test infrastructure Open Source Technology Cent= er https://lists.01.org/pipermail/kbuild-all Intel Corporati= on --===============6276387782077179404==--