[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201807162300.X9y0iy7K%fengguang.wu@intel.com>
Date: Mon, 16 Jul 2018 23:23:04 +0800
From: kbuild test robot <lkp@...el.com>
To: Boris Pismenny <borisp@...lanox.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Ilya Lesokhin <ilyal@...lanox.com>
Subject: [net-next:master 715/721]
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:172:52: sparse:
incorrect type in argument 2 (different base types)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: aea06eb276d99590f400c877ca2bd74b4db91330
commit: ca942c78f3237e09567d80ac19dffe9690c74d79 [715/721] net/mlx5e: TLS, add innova rx support
reproduce:
# apt-get install sparse
git checkout ca942c78f3237e09567d80ac19dffe9690c74d79
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:172:52: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [unsigned] [usertype] handle @@ got ed int [unsigned] [usertype] handle @@
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:172:52: expected unsigned int [unsigned] [usertype] handle
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:172:52: got restricted __be32 [usertype] handle
vim +172 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c
162
163 static void mlx5e_tls_resync_rx(struct net_device *netdev, struct sock *sk,
164 u32 seq, u64 rcd_sn)
165 {
166 struct tls_context *tls_ctx = tls_get_ctx(sk);
167 struct mlx5e_priv *priv = netdev_priv(netdev);
168 struct mlx5e_tls_offload_context_rx *rx_ctx;
169
170 rx_ctx = mlx5e_get_tls_rx_context(tls_ctx);
171
> 172 mlx5_accel_tls_resync_rx(priv->mdev, rx_ctx->handle, seq, rcd_sn);
173 }
174
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Powered by blists - more mailing lists