From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/infiniband/sw/siw/iwarp.h:114 __ddp_get_version() warn: mask and shift to zero
Date: Sat, 13 Nov 2021 09:26:20 +0800 [thread overview]
Message-ID: <202111130910.Fhr8uKDE-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1799 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: d991bb1c8da842a2a0b9dc83b1005e655783f861 include/linux/compiler-gcc.h: sparse can do constant folding of __builtin_bswap*()
date: 7 months ago
:::::: branch date: 5 hours ago
:::::: commit date: 7 months ago
config: x86_64-randconfig-m001-20211028 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 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/infiniband/sw/siw/iwarp.h:114 __ddp_get_version() warn: mask and shift to zero
vim +114 drivers/infiniband/sw/siw/iwarp.h
0e935ae6afcdbe Bernard Metzler 2019-06-20 111
0e935ae6afcdbe Bernard Metzler 2019-06-20 112 static inline u8 __ddp_get_version(struct iwarp_ctrl *ctrl)
0e935ae6afcdbe Bernard Metzler 2019-06-20 113 {
0e935ae6afcdbe Bernard Metzler 2019-06-20 @114 return be16_to_cpu(ctrl->ddp_rdmap_ctrl & DDP_MASK_VERSION) >> 8;
0e935ae6afcdbe Bernard Metzler 2019-06-20 115 }
0e935ae6afcdbe Bernard Metzler 2019-06-20 116
:::::: The code at line 114 was first introduced by commit
:::::: 0e935ae6afcdbe6f0c0aa457ae57feccc63bb9be rdma/siw: iWarp wire packet format
:::::: TO: Bernard Metzler <bmt@zurich.ibm.com>
:::::: CC: Jason Gunthorpe <jgg@mellanox.com>
---
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: 34811 bytes --]
next reply other threads:[~2021-11-13 1:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-13 1:26 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-04-11 16:50 drivers/infiniband/sw/siw/iwarp.h:114 __ddp_get_version() warn: mask and shift to zero kernel test robot
2022-04-11 8:51 kernel test robot
2022-03-19 21:55 kernel test robot
2022-01-24 14:20 kernel test robot
2021-08-12 16:58 kernel test robot
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=202111130910.Fhr8uKDE-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.