From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_hw.c:113 chtls_set_tcb_quiesce() warn: should 'val << 15' be a 64 bit type?
Date: Thu, 08 Jul 2021 13:10:00 +0800 [thread overview]
Message-ID: <202107081349.alSyvRKA-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2120 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Hi Vinay,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e9f1cbc0c4114880090c7a578117d3b9cf184ad4
commit: 44fd1c1fd821955118ecb518f46076b98343e591 chelsio/chtls: separate chelsio tls driver from crypto driver
date: 11 months ago
:::::: branch date: 9 hours ago
:::::: commit date: 11 months ago
config: ia64-randconfig-m031-20210707 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_hw.c:113 chtls_set_tcb_quiesce() warn: should 'val << 15' be a 64 bit type?
vim +113 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_hw.c
d25f2f71f653b7 drivers/crypto/chelsio/chtls/chtls_hw.c Atul Gupta 2018-03-31 109
d25f2f71f653b7 drivers/crypto/chelsio/chtls/chtls_hw.c Atul Gupta 2018-03-31 110 static int chtls_set_tcb_quiesce(struct sock *sk, int val)
d25f2f71f653b7 drivers/crypto/chelsio/chtls/chtls_hw.c Atul Gupta 2018-03-31 111 {
d25f2f71f653b7 drivers/crypto/chelsio/chtls/chtls_hw.c Atul Gupta 2018-03-31 112 return chtls_set_tcb_field(sk, 1, (1ULL << TF_RX_QUIESCE_S),
d25f2f71f653b7 drivers/crypto/chelsio/chtls/chtls_hw.c Atul Gupta 2018-03-31 @113 TF_RX_QUIESCE_V(val));
d25f2f71f653b7 drivers/crypto/chelsio/chtls/chtls_hw.c Atul Gupta 2018-03-31 114 }
d25f2f71f653b7 drivers/crypto/chelsio/chtls/chtls_hw.c Atul Gupta 2018-03-31 115
:::::: The code@line 113 was first introduced by commit
:::::: d25f2f71f653b78e8bd055cfe8fd70ef8f514f2b crypto: chtls - Program the TLS session Key
:::::: TO: Atul Gupta <atul.gupta@chelsio.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37661 bytes --]
reply other threads:[~2021-07-08 5:10 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=202107081349.alSyvRKA-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.