[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202109130016.LkgqXWhB-lkp@intel.com>
Date: Mon, 13 Sep 2021 00:33:32 +0800
From: kernel test robot <lkp@...el.com>
To: Avri Altman <avri.altman@....com>,
"James E . J . Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Bart Van Assche <bvanassche@....org>,
Adrian Hunter <adrian.hunter@...el.com>,
Bean Huo <beanhuo@...ron.com>,
Guenter Roeck <linux@...ck-us.net>,
Avri Altman <avri.altman@....com>
Subject: Re: [PATCH v3 2/2] scsi: ufs: Add temperature notification exception
handling
Hi Avri,
I love your patch! Yet something to improve:
[auto build test ERROR on mkp-scsi/for-next]
[also build test ERROR on scsi/for-next next-20210910]
[cannot apply to v5.14]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Avri-Altman/Add-temperature-notification-support/20210912-212110
base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
config: x86_64-randconfig-a001-20210912 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
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
# https://github.com/0day-ci/linux/commit/2aa54f753f44e119f4629ae015fedb3e12cebac6
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Avri-Altman/Add-temperature-notification-support/20210912-212110
git checkout 2aa54f753f44e119f4629ae015fedb3e12cebac6
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/scsi/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/scsi/ufs/ufshcd.c:22:
>> drivers/scsi/ufs/ufshcd.h:1070:6: warning: no previous prototype for function 'ufs_hwmon_notify_event' [-Wmissing-prototypes]
void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask) {}
^
drivers/scsi/ufs/ufshcd.h:1070:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask) {}
^
static
1 warning generated.
--
>> ld.lld: error: duplicate symbol: ufs_hwmon_notify_event
>>> defined at ufshcd.h:1070 (drivers/scsi/ufs/ufshcd.h:1070)
>>> drivers/scsi/ufs/ufshcd.o:(ufs_hwmon_notify_event)
>>> defined at ufshcd.h:1070 (drivers/scsi/ufs/ufshcd.h:1070)
>>> drivers/scsi/ufs/ufs-sysfs.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: ufs_hwmon_notify_event
>>> defined at ufshcd.h:1070 (drivers/scsi/ufs/ufshcd.h:1070)
>>> drivers/scsi/ufs/ufshcd.o:(ufs_hwmon_notify_event)
>>> defined at ufshcd.h:1070 (drivers/scsi/ufs/ufshcd.h:1070)
>>> drivers/scsi/ufs/ufs-debugfs.o:(.text+0x0)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (34068 bytes)
Powered by blists - more mailing lists