tree:
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git devfreq-testing
head: 82254c87f7c13ff0ca73ca9a8c776ddd1c638f9e
commit: 82254c87f7c13ff0ca73ca9a8c776ddd1c638f9e [5/5] PM / devfreq: Add new up_threshold
and down_differential sysfs attrs
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git/commit/...
git remote add chanwoo
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
git fetch --no-tags chanwoo devfreq-testing
git checkout 82254c87f7c13ff0ca73ca9a8c776ddd1c638f9e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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 >>):
drivers/scsi/ufs/ufs-qcom.c: In function 'ufs_qcom_config_scaling_param':
> drivers/scsi/ufs/ufs-qcom.c:1438:46: warning: variable
'd' set but not used [-Wunused-but-set-variable]
1438 | static struct
devfreq_simple_ondemand_data *d;
| ^
vim +/d +1438 drivers/scsi/ufs/ufs-qcom.c
b8416b2fedbf1c Bjorn Andersson 2019-08-28 1432
80b21006cd0e86 Asutosh Das 2020-03-25 1433 #if
IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND)
80b21006cd0e86 Asutosh Das 2020-03-25 1434 static void
ufs_qcom_config_scaling_param(struct ufs_hba *hba,
80b21006cd0e86 Asutosh Das 2020-03-25 1435 struct devfreq_dev_profile *p,
80b21006cd0e86 Asutosh Das 2020-03-25 1436 void *data)
80b21006cd0e86 Asutosh Das 2020-03-25 1437 {
80b21006cd0e86 Asutosh Das 2020-03-25 @1438 static struct
devfreq_simple_ondemand_data *d;
80b21006cd0e86 Asutosh Das 2020-03-25 1439
80b21006cd0e86 Asutosh Das 2020-03-25 1440 if (!data)
80b21006cd0e86 Asutosh Das 2020-03-25 1441 return;
80b21006cd0e86 Asutosh Das 2020-03-25 1442
80b21006cd0e86 Asutosh Das 2020-03-25 1443 d = (struct devfreq_simple_ondemand_data
*)data;
80b21006cd0e86 Asutosh Das 2020-03-25 1444 p->polling_ms = 60;
82254c87f7c13f Chanwoo Choi 2020-10-08 1445 p->up_threshold = 70;
82254c87f7c13f Chanwoo Choi 2020-10-08 1446 p->down_differential = 5;
80b21006cd0e86 Asutosh Das 2020-03-25 1447 }
80b21006cd0e86 Asutosh Das 2020-03-25 1448 #else
80b21006cd0e86 Asutosh Das 2020-03-25 1449 static void
ufs_qcom_config_scaling_param(struct ufs_hba *hba,
80b21006cd0e86 Asutosh Das 2020-03-25 1450 struct devfreq_dev_profile *p,
80b21006cd0e86 Asutosh Das 2020-03-25 1451 void *data)
80b21006cd0e86 Asutosh Das 2020-03-25 1452 {
80b21006cd0e86 Asutosh Das 2020-03-25 1453 }
80b21006cd0e86 Asutosh Das 2020-03-25 1454 #endif
80b21006cd0e86 Asutosh Das 2020-03-25 1455
:::::: The code at line 1438 was first introduced by commit
:::::: 80b21006cd0e8661affd8e1bf1707c8d5099605e scsi: ufs-qcom: Override devfreq
parameters
:::::: TO: Asutosh Das <asutoshd(a)codeaurora.org>
:::::: CC: Martin K. Petersen <martin.petersen(a)oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org