Hi Kiwoong,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on scsi/for-next]
[also build test WARNING on mkp-scsi/for-next v5.8-rc1 next-20200618]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Kiwoong-Kim/support-various-valu...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
63700971ac9cdf198faa4a3a7c226fa579e49206)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> drivers/scsi/ufs/ufshcd.c:6941:6: warning: no previous prototype
for function 'ufshcd_set_dev_values' [-Wmissing-prototypes]
void
ufshcd_set_dev_values(struct ufs_hba *hba, struct ufs_dev_value *value)
^
drivers/scsi/ufs/ufshcd.c:6941:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void ufshcd_set_dev_values(struct ufs_hba *hba, struct ufs_dev_value *value)
^
static
drivers/scsi/ufs/ufshcd.c:215:1: warning: unused function
'ufs_get_dev_specific_value' [-Wunused-function]
ufs_get_dev_specific_value(struct ufs_hba *hba,
^
2 warnings generated.
vim +/ufshcd_set_dev_values +6941 drivers/scsi/ufs/ufshcd.c
6940
6941 void ufshcd_set_dev_values(struct ufs_hba *hba, struct
ufs_dev_value *value)
6942 {
6943 struct ufs_dev_value *f;
6944 struct ufs_dev_info *dev_info = &hba->dev_info;
6945
6946 if (!value)
6947 return;
6948
6949 for (f = value; f->val; f++) {
6950 if ((f->wmanufacturerid == dev_info->wmanufacturerid ||
6951 f->wmanufacturerid == UFS_ANY_VENDOR) &&
6952 ((dev_info->model &&
6953 STR_PRFX_EQUAL(f->model, dev_info->model)) ||
6954 !strcmp(f->model, UFS_ANY_MODEL))) {
6955 f->enable = true;
6956 hba->dev_value[f->key] = f->val;
6957 }
6958 }
6959 }
6960 EXPORT_SYMBOL_GPL(ufshcd_set_dev_values);
6961
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org