Netdev List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Boris Pismenny <borisp@mellanox.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	Ilya Lesokhin <ilyal@mellanox.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)
Date: Mon, 16 Jul 2018 23:23:04 +0800	[thread overview]
Message-ID: <201807162300.X9y0iy7K%fengguang.wu@intel.com> (raw)

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

                 reply	other threads:[~2018-07-16 15:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201807162300.X9y0iy7K%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=borisp@mellanox.com \
    --cc=ilyal@mellanox.com \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox