From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@google.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Jaegeuk Kim <jaegeuk@kernel.org>
Subject: drivers/scsi/ufs/ufshcd.c:2635:20: error: unused function 'is_rpmb_wlun'
Date: Tue, 16 Nov 2021 00:20:56 +0800 [thread overview]
Message-ID: <202111160040.keyeeqYV-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2465 bytes --]
Hi Bart,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8ab774587903771821b59471cc723bba6d893942
commit: edc0596cc04bf0ac3a69c66e994d3ff8b650ff71 scsi: ufs: core: Stop clearing UNIT ATTENTIONS
date: 6 weeks ago
config: riscv-buildonly-randconfig-r004-20211111 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 63ef0e17e28827eae53133b3467bdac7d9729318)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=edc0596cc04bf0ac3a69c66e994d3ff8b650ff71
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout edc0596cc04bf0ac3a69c66e994d3ff8b650ff71
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/scsi/ufs/ufshcd.c:2635:20: error: unused function 'is_rpmb_wlun' [-Werror,-Wunused-function]
static inline bool is_rpmb_wlun(struct scsi_device *sdev)
^
1 error generated.
vim +/is_rpmb_wlun +2635 drivers/scsi/ufs/ufshcd.c
2a8fa600445c45 Subhash Jadavani 2014-09-25 2634
b294ff3e34490f Asutosh Das 2021-04-23 @2635 static inline bool is_rpmb_wlun(struct scsi_device *sdev)
b294ff3e34490f Asutosh Das 2021-04-23 2636 {
b294ff3e34490f Asutosh Das 2021-04-23 2637 return sdev->lun == ufshcd_upiu_wlun_to_scsi_wlun(UFS_UPIU_RPMB_WLUN);
b294ff3e34490f Asutosh Das 2021-04-23 2638 }
b294ff3e34490f Asutosh Das 2021-04-23 2639
:::::: The code at line 2635 was first introduced by commit
:::::: b294ff3e34490f36233230e9ca70503d3924a6f3 scsi: ufs: core: Enable power management for wlun
:::::: TO: Asutosh Das <asutoshd@codeaurora.org>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33190 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: drivers/scsi/ufs/ufshcd.c:2635:20: error: unused function 'is_rpmb_wlun'
Date: Tue, 16 Nov 2021 00:20:56 +0800 [thread overview]
Message-ID: <202111160040.keyeeqYV-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2518 bytes --]
Hi Bart,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8ab774587903771821b59471cc723bba6d893942
commit: edc0596cc04bf0ac3a69c66e994d3ff8b650ff71 scsi: ufs: core: Stop clearing UNIT ATTENTIONS
date: 6 weeks ago
config: riscv-buildonly-randconfig-r004-20211111 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 63ef0e17e28827eae53133b3467bdac7d9729318)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=edc0596cc04bf0ac3a69c66e994d3ff8b650ff71
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout edc0596cc04bf0ac3a69c66e994d3ff8b650ff71
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/scsi/ufs/ufshcd.c:2635:20: error: unused function 'is_rpmb_wlun' [-Werror,-Wunused-function]
static inline bool is_rpmb_wlun(struct scsi_device *sdev)
^
1 error generated.
vim +/is_rpmb_wlun +2635 drivers/scsi/ufs/ufshcd.c
2a8fa600445c45 Subhash Jadavani 2014-09-25 2634
b294ff3e34490f Asutosh Das 2021-04-23 @2635 static inline bool is_rpmb_wlun(struct scsi_device *sdev)
b294ff3e34490f Asutosh Das 2021-04-23 2636 {
b294ff3e34490f Asutosh Das 2021-04-23 2637 return sdev->lun == ufshcd_upiu_wlun_to_scsi_wlun(UFS_UPIU_RPMB_WLUN);
b294ff3e34490f Asutosh Das 2021-04-23 2638 }
b294ff3e34490f Asutosh Das 2021-04-23 2639
:::::: The code at line 2635 was first introduced by commit
:::::: b294ff3e34490f36233230e9ca70503d3924a6f3 scsi: ufs: core: Enable power management for wlun
:::::: TO: Asutosh Das <asutoshd@codeaurora.org>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.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: 33190 bytes --]
next reply other threads:[~2021-11-15 16:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 16:20 kernel test robot [this message]
2021-11-15 16:20 ` drivers/scsi/ufs/ufshcd.c:2635:20: error: unused function 'is_rpmb_wlun' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-11-06 5:58 kernel test robot
2021-11-06 5: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=202111160040.keyeeqYV-lkp@intel.com \
--to=lkp@intel.com \
--cc=bvanassche@google.com \
--cc=jaegeuk@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=martin.petersen@oracle.com \
/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.