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: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/memory/tegra/tegra20-emc.c:203:38: error: field
'ondemand_data' has incomplete type
203 | struct
devfreq_simple_ondemand_data ondemand_data;
| ^~~~~~~~~~~~~
vim +/ondemand_data +203 drivers/memory/tegra/tegra20-emc.c
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 175
96e5da7c842424 Dmitry Osipenko 2018-10-21 176 struct tegra_emc {
96e5da7c842424 Dmitry Osipenko 2018-10-21 177 struct device *dev;
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 178 struct tegra_mc *mc;
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 179 struct icc_provider provider;
96e5da7c842424 Dmitry Osipenko 2018-10-21 180 struct notifier_block clk_nb;
96e5da7c842424 Dmitry Osipenko 2018-10-21 181 struct clk *clk;
96e5da7c842424 Dmitry Osipenko 2018-10-21 182 void __iomem *regs;
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 183 unsigned int dram_bus_width;
96e5da7c842424 Dmitry Osipenko 2018-10-21 184
96e5da7c842424 Dmitry Osipenko 2018-10-21 185 struct emc_timing *timings;
96e5da7c842424 Dmitry Osipenko 2018-10-21 186 unsigned int num_timings;
8209eefa3d379d Thierry Reding 2019-12-22 187
8209eefa3d379d Thierry Reding 2019-12-22 188 struct {
8209eefa3d379d Thierry Reding 2019-12-22 189 struct dentry *root;
8209eefa3d379d Thierry Reding 2019-12-22 190 unsigned long min_rate;
8209eefa3d379d Thierry Reding 2019-12-22 191 unsigned long max_rate;
8209eefa3d379d Thierry Reding 2019-12-22 192 } debugfs;
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 193
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 194 /*
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 195 * There are multiple sources in the EMC
driver which could request
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 196 * a min/max clock rate, these rates are
contained in this array.
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 197 */
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 198 struct emc_rate_request
requested_rate[EMC_RATE_TYPE_MAX];
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 199
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 200 /* protect shared rate-change code path
*/
d5ef16ba5fbe12 Dmitry Osipenko 2020-11-04 201 struct mutex rate_lock;
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 202
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 @203 struct devfreq_simple_ondemand_data
ondemand_data;
96e5da7c842424 Dmitry Osipenko 2018-10-21 204 };
96e5da7c842424 Dmitry Osipenko 2018-10-21 205
:::::: The code at line 203 was first introduced by commit
:::::: dedf62d6f17fc9cf0389602b6d3d7533cc218679 memory: tegra20-emc: Add devfreq support
:::::: TO: Dmitry Osipenko <digetx(a)gmail.com>
:::::: CC: Krzysztof Kozlowski <krzk(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org