[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201807170439.r8jUV8bD%fengguang.wu@intel.com>
Date: Tue, 17 Jul 2018 04:00:41 +0800
From: kbuild test robot <lkp@...el.com>
To: Boris Pismenny <borisp@...lanox.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 717/734]
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast
to restricted __be64
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 568a74d491124c720e604ed3265722f969a5fb38
commit: afd3baaa938ce85dc738cd9279716cdb684cc707 [717/734] net/mlx5e: TLS, add software statistics
reproduce:
# apt-get install sparse
git checkout afd3baaa938ce85dc738cd9279716cdb684cc707
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:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:173:21: sparse: cast to restricted __be64
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:174: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:174:52: expected unsigned int [unsigned] [usertype] handle
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:174:52: got restricted __be32 [usertype] handle
vim +173 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 netdev_info(netdev, "resyncing seq %d rcd %lld\n", seq,
> 173 be64_to_cpu(rcd_sn));
174 mlx5_accel_tls_resync_rx(priv->mdev, rx_ctx->handle, seq, rcd_sn);
175 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_reply);
176 }
177
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Powered by blists - more mailing lists