All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chanwoo:devfreq-testing 6/7] drivers/memory/tegra/tegra20-emc.c:203:38: error: field 'ondemand_data' has incomplete type
Date: Wed, 10 Mar 2021 04:44:36 +0800	[thread overview]
Message-ID: <202103100434.DOLE78oB-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4032 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git devfreq-testing
head:   5cc75e9252e97fafde1a637d72b9fa222d2f9f0a
commit: dc9e557845c17cee173a6adcc3ae14940da03f44 [6/7] 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/?id=dc9e557845c17cee173a6adcc3ae14940da03f44
        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 dc9e557845c17cee173a6adcc3ae14940da03f44
        # 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@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@gmail.com>
:::::: CC: Krzysztof Kozlowski <krzk@kernel.org>

---
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: 54362 bytes --]

                 reply	other threads:[~2021-03-09 20:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202103100434.DOLE78oB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.