From: kernel test robot <lkp@intel.com> To: Dmitry Osipenko <digetx@gmail.com>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Ulf Hansson <ulf.hansson@linaro.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Kevin Hilman <khilman@kernel.org>, Viresh Kumar <vireshk@kernel.org>, Stephen Boyd <sboyd@kernel.org>, Nishanth Menon <nm@ti.com> Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH v9 1/8] opp: Add dev_pm_opp_from_clk_rate() Date: Fri, 27 Aug 2021 15:27:19 +0800 [thread overview] Message-ID: <202108271511.hj4l883p-lkp@intel.com> (raw) In-Reply-To: <20210827013415.24027-2-digetx@gmail.com> [-- Attachment #1: Type: text/plain, Size: 5094 bytes --] Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on tegra-drm/drm/tegra/for-next linus/master v5.14-rc7 next-20210826] [cannot apply to tegra/for-next] [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/Dmitry-Osipenko/NVIDIA-Tegra-power-management-patches-for-5-16/20210827-093936 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: hexagon-randconfig-r045-20210827 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe) 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/11cffc90b58c476a1beca3ab35ff397d7363498d git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dmitry-Osipenko/NVIDIA-Tegra-power-management-patches-for-5-16/20210827-093936 git checkout 11cffc90b58c476a1beca3ab35ff397d7363498d # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/regulator/ 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/regulator/fixed.c:22: >> include/linux/pm_opp.h:438:8: error: declaration of anonymous struct must be a definition static struct inline dev_pm_opp *dev_pm_opp_from_clk_rate(struct device *dev) ^ >> include/linux/pm_opp.h:438:1: warning: declaration does not declare anything [-Wmissing-declarations] static struct inline dev_pm_opp *dev_pm_opp_from_clk_rate(struct device *dev) ^~~~~~ In file included from drivers/regulator/fixed.c:23: In file included from include/linux/regulator/driver.h:16: >> include/linux/linear_range.h:29:56: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] unsigned int linear_range_values_in_range(const struct linear_range *r); ^ include/linux/linear_range.h:30:62: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] unsigned int linear_range_values_in_range_array(const struct linear_range *r, ^ include/linux/linear_range.h:32:54: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] unsigned int linear_range_get_max_value(const struct linear_range *r); ^ include/linux/linear_range.h:34:41: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_value(const struct linear_range *r, unsigned int selector, ^ include/linux/linear_range.h:36:47: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_value_array(const struct linear_range *r, int ranges, ^ include/linux/linear_range.h:38:48: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_selector_low(const struct linear_range *r, ^ include/linux/linear_range.h:41:49: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_selector_high(const struct linear_range *r, ^ include/linux/linear_range.h:44:54: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_selector_low_array(const struct linear_range *r, ^ >> drivers/regulator/fixed.c:223:32: error: implicit declaration of function 'of_get_required_opp_performance_state' [-Werror,-Wimplicit-function-declaration] drvdata->performance_state = of_get_required_opp_performance_state(dev->of_node, 0); ^ 9 warnings and 2 errors generated. vim +438 include/linux/pm_opp.h 437 > 438 static struct inline dev_pm_opp *dev_pm_opp_from_clk_rate(struct device *dev) 439 { 440 return ERR_PTR(-EOPNOTSUPP); 441 } 442 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 25846 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH v9 1/8] opp: Add dev_pm_opp_from_clk_rate() Date: Fri, 27 Aug 2021 15:27:19 +0800 [thread overview] Message-ID: <202108271511.hj4l883p-lkp@intel.com> (raw) In-Reply-To: <20210827013415.24027-2-digetx@gmail.com> [-- Attachment #1: Type: text/plain, Size: 5178 bytes --] Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on tegra-drm/drm/tegra/for-next linus/master v5.14-rc7 next-20210826] [cannot apply to tegra/for-next] [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/Dmitry-Osipenko/NVIDIA-Tegra-power-management-patches-for-5-16/20210827-093936 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: hexagon-randconfig-r045-20210827 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe) 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/11cffc90b58c476a1beca3ab35ff397d7363498d git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dmitry-Osipenko/NVIDIA-Tegra-power-management-patches-for-5-16/20210827-093936 git checkout 11cffc90b58c476a1beca3ab35ff397d7363498d # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/regulator/ 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/regulator/fixed.c:22: >> include/linux/pm_opp.h:438:8: error: declaration of anonymous struct must be a definition static struct inline dev_pm_opp *dev_pm_opp_from_clk_rate(struct device *dev) ^ >> include/linux/pm_opp.h:438:1: warning: declaration does not declare anything [-Wmissing-declarations] static struct inline dev_pm_opp *dev_pm_opp_from_clk_rate(struct device *dev) ^~~~~~ In file included from drivers/regulator/fixed.c:23: In file included from include/linux/regulator/driver.h:16: >> include/linux/linear_range.h:29:56: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] unsigned int linear_range_values_in_range(const struct linear_range *r); ^ include/linux/linear_range.h:30:62: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] unsigned int linear_range_values_in_range_array(const struct linear_range *r, ^ include/linux/linear_range.h:32:54: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] unsigned int linear_range_get_max_value(const struct linear_range *r); ^ include/linux/linear_range.h:34:41: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_value(const struct linear_range *r, unsigned int selector, ^ include/linux/linear_range.h:36:47: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_value_array(const struct linear_range *r, int ranges, ^ include/linux/linear_range.h:38:48: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_selector_low(const struct linear_range *r, ^ include/linux/linear_range.h:41:49: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_selector_high(const struct linear_range *r, ^ include/linux/linear_range.h:44:54: warning: declaration of 'struct linear_range' will not be visible outside of this function [-Wvisibility] int linear_range_get_selector_low_array(const struct linear_range *r, ^ >> drivers/regulator/fixed.c:223:32: error: implicit declaration of function 'of_get_required_opp_performance_state' [-Werror,-Wimplicit-function-declaration] drvdata->performance_state = of_get_required_opp_performance_state(dev->of_node, 0); ^ 9 warnings and 2 errors generated. vim +438 include/linux/pm_opp.h 437 > 438 static struct inline dev_pm_opp *dev_pm_opp_from_clk_rate(struct device *dev) 439 { 440 return ERR_PTR(-EOPNOTSUPP); 441 } 442 --- 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: 25846 bytes --]
next prev parent reply other threads:[~2021-08-27 7:28 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-27 1:34 [PATCH v9 0/8] NVIDIA Tegra power management patches for 5.16 Dmitry Osipenko 2021-08-27 1:34 ` [PATCH v9 1/8] opp: Add dev_pm_opp_from_clk_rate() Dmitry Osipenko 2021-08-27 1:42 ` Dmitry Osipenko 2021-08-27 3:00 ` kernel test robot 2021-08-27 3:00 ` kernel test robot 2021-08-27 3:00 ` Viresh Kumar 2021-08-27 3:28 ` Dmitry Osipenko 2021-08-27 7:27 ` kernel test robot [this message] 2021-08-27 7:27 ` kernel test robot 2021-08-27 1:34 ` [PATCH v9 2/8] opp: Allow dev_pm_opp_set_clkname() to replace released clock Dmitry Osipenko 2021-08-27 1:34 ` [PATCH v9 3/8] opp: Change type of dev_pm_opp_attach_genpd(names) argument Dmitry Osipenko 2021-08-27 1:34 ` [PATCH v9 4/8] PM: domains: Add get_performance_state() callback Dmitry Osipenko 2021-08-27 14:23 ` Ulf Hansson 2021-08-27 15:50 ` Dmitry Osipenko 2021-08-30 9:19 ` Ulf Hansson 2021-08-27 1:34 ` [PATCH v9 5/8] soc/tegra: pmc: Implement " Dmitry Osipenko 2021-08-27 3:05 ` Viresh Kumar 2021-08-27 3:28 ` Dmitry Osipenko 2021-08-27 3:47 ` Dmitry Osipenko 2021-08-27 3:56 ` Dmitry Osipenko 2021-08-27 4:02 ` Viresh Kumar 2021-08-27 4:08 ` Dmitry Osipenko 2021-08-27 4:13 ` Viresh Kumar 2021-08-27 4:15 ` Dmitry Osipenko 2021-08-27 1:34 ` [PATCH v9 6/8] soc/tegra: Add devm_tegra_core_dev_init_opp_table_simple() Dmitry Osipenko 2021-08-27 1:34 ` [PATCH v9 7/8] gpu: host1x: Add host1x_channel_stop() Dmitry Osipenko 2021-08-27 1:34 ` [PATCH v9 8/8] drm/tegra: gr3d: Support generic power domain and runtime PM Dmitry Osipenko
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=202108271511.hj4l883p-lkp@intel.com \ --to=lkp@intel.com \ --cc=digetx@gmail.com \ --cc=jonathanh@nvidia.com \ --cc=kbuild-all@lists.01.org \ --cc=khilman@kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-tegra@vger.kernel.org \ --cc=llvm@lists.linux.dev \ --cc=nm@ti.com \ --cc=rjw@rjwysocki.net \ --cc=sboyd@kernel.org \ --cc=thierry.reding@gmail.com \ --cc=ulf.hansson@linaro.org \ --cc=vireshk@kernel.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: linkBe 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.