* [chanwoo:devfreq-testing-sysfs 9/9] drivers/scsi/ufs/ufshcd.h:583:38: error: field has incomplete type 'struct devfreq_simple_ondemand_data'
@ 2020-09-28 20:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-28 20:31 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3939 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git devfreq-testing-sysfs
head: e9ab52ecbc2f666dcb69c7c4aafcf4efadd46e8e
commit: e9ab52ecbc2f666dcb69c7c4aafcf4efadd46e8e [9/9] PM / devfreq: Add new up_threshold and down_differential sysfs attribute
config: x86_64-randconfig-a011-20200928 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 6d374cf78c8a80a0bbfc7ce9bc80b3f183f44c80)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git/commit/?id=e9ab52ecbc2f666dcb69c7c4aafcf4efadd46e8e
git remote add chanwoo https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
git fetch --no-tags chanwoo devfreq-testing-sysfs
git checkout e9ab52ecbc2f666dcb69c7c4aafcf4efadd46e8e
# 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@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/scsi/ufs/tc-dwc-g210-pltfrm.c:16:
In file included from drivers/scsi/ufs/ufshcd-pltfrm.h:8:
>> drivers/scsi/ufs/ufshcd.h:583:38: error: field has incomplete type 'struct devfreq_simple_ondemand_data'
struct devfreq_simple_ondemand_data ondemand_data;
^
drivers/scsi/ufs/ufshcd.h:583:9: note: forward declaration of 'struct devfreq_simple_ondemand_data'
struct devfreq_simple_ondemand_data ondemand_data;
^
1 error generated.
--
In file included from drivers/scsi/ufs/ufshcd.c:18:
>> drivers/scsi/ufs/ufshcd.h:583:38: error: field has incomplete type 'struct devfreq_simple_ondemand_data'
struct devfreq_simple_ondemand_data ondemand_data;
^
drivers/scsi/ufs/ufshcd.h:583:9: note: forward declaration of 'struct devfreq_simple_ondemand_data'
struct devfreq_simple_ondemand_data ondemand_data;
^
>> drivers/scsi/ufs/ufshcd.c:8716:44: warning: shift count >= width of type [-Wshift-count-overflow]
if (!dma_set_mask_and_coherent(hba->dev, DMA_BIT_MASK(64)))
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:139:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
1 warning and 1 error generated.
vim +583 drivers/scsi/ufs/ufshcd.h
c2014682d03d80 Stanley Chu 2020-03-18 580
90b8491c003391 Stanley Chu 2020-05-09 581 struct ufs_hba_variant_params {
90b8491c003391 Stanley Chu 2020-05-09 582 struct devfreq_dev_profile devfreq_profile;
90b8491c003391 Stanley Chu 2020-05-09 @583 struct devfreq_simple_ondemand_data ondemand_data;
90b8491c003391 Stanley Chu 2020-05-09 584 u16 hba_enable_delay_us;
d14734ae3ae79d Stanley Chu 2020-05-09 585 u32 wb_flush_threshold;
90b8491c003391 Stanley Chu 2020-05-09 586 };
90b8491c003391 Stanley Chu 2020-05-09 587
:::::: The code@line 583 was first introduced by commit
:::::: 90b8491c0033915ec1b290bc1c0de27935cb132d scsi: ufs: Introduce ufs_hba_variant_params to group customizable parameters
:::::: TO: Stanley Chu <stanley.chu@mediatek.com>
:::::: 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: 38118 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-28 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 20:31 [chanwoo:devfreq-testing-sysfs 9/9] drivers/scsi/ufs/ufshcd.h:583:38: error: field has incomplete type 'struct devfreq_simple_ondemand_data' kernel test robot
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.