From: kernel test robot <lkp@intel.com>
To: Hector Yuan <hector.yuan@mediatek.com>,
linux-mediatek@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Viresh Kumar <viresh.kumar@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
wsd_upstream@mediatek.com, hector.yuan@mediatek.com
Subject: Re: [PATCH v15 3/3] cpufreq: mediatek-hw: Add support for CPUFREQ HW
Date: Sat, 4 Sep 2021 00:34:27 +0800 [thread overview]
Message-ID: <202109040020.Oywwph2u-lkp@intel.com> (raw)
In-Reply-To: <1630658364-6192-4-git-send-email-hector.yuan@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]
Hi Hector,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on soc/for-next]
[also build test ERROR on robh/for-next v5.14]
[cannot apply to pm/linux-next next-20210903]
[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/Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/a7148c526ed4198bbe953fb17e52257f0d50d8c4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
git checkout a7148c526ed4198bbe953fb17e52257f0d50d8c4
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/cpufreq/
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/cpufreq/mediatek-cpufreq-hw.c:280:10: error: 'struct cpufreq_driver' has no member named 'register_em'
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~
>> drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: error: initialization of 'int (*)(struct cpufreq_policy *)' from incompatible pointer type 'void (*)(struct cpufreq_policy *)' [-Werror=incompatible-pointer-types]
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: note: (near initialization for 'cpufreq_mtk_hw_driver.suspend')
cc1: some warnings being treated as errors
vim +280 drivers/cpufreq/mediatek-cpufreq-hw.c
270
271 static struct cpufreq_driver cpufreq_mtk_hw_driver = {
272 .flags = CPUFREQ_NEED_INITIAL_FREQ_CHECK |
273 CPUFREQ_HAVE_GOVERNOR_PER_POLICY |
274 CPUFREQ_IS_COOLING_DEV,
275 .verify = cpufreq_generic_frequency_table_verify,
276 .target_index = mtk_cpufreq_hw_target_index,
277 .get = mtk_cpufreq_hw_get,
278 .init = mtk_cpufreq_hw_cpu_init,
279 .exit = mtk_cpufreq_hw_cpu_exit,
> 280 .register_em = mtk_cpufreq_register_em,
281 .fast_switch = mtk_cpufreq_hw_fast_switch,
282 .name = "mtk-cpufreq-hw",
283 .attr = cpufreq_generic_attr,
284 };
285
---
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: 54084 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Hector Yuan <hector.yuan@mediatek.com>,
linux-mediatek@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Viresh Kumar <viresh.kumar@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
wsd_upstream@mediatek.com, hector.yuan@mediatek.com
Subject: Re: [PATCH v15 3/3] cpufreq: mediatek-hw: Add support for CPUFREQ HW
Date: Sat, 4 Sep 2021 00:34:27 +0800 [thread overview]
Message-ID: <202109040020.Oywwph2u-lkp@intel.com> (raw)
In-Reply-To: <1630658364-6192-4-git-send-email-hector.yuan@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]
Hi Hector,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on soc/for-next]
[also build test ERROR on robh/for-next v5.14]
[cannot apply to pm/linux-next next-20210903]
[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/Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/a7148c526ed4198bbe953fb17e52257f0d50d8c4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
git checkout a7148c526ed4198bbe953fb17e52257f0d50d8c4
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/cpufreq/
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/cpufreq/mediatek-cpufreq-hw.c:280:10: error: 'struct cpufreq_driver' has no member named 'register_em'
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~
>> drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: error: initialization of 'int (*)(struct cpufreq_policy *)' from incompatible pointer type 'void (*)(struct cpufreq_policy *)' [-Werror=incompatible-pointer-types]
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: note: (near initialization for 'cpufreq_mtk_hw_driver.suspend')
cc1: some warnings being treated as errors
vim +280 drivers/cpufreq/mediatek-cpufreq-hw.c
270
271 static struct cpufreq_driver cpufreq_mtk_hw_driver = {
272 .flags = CPUFREQ_NEED_INITIAL_FREQ_CHECK |
273 CPUFREQ_HAVE_GOVERNOR_PER_POLICY |
274 CPUFREQ_IS_COOLING_DEV,
275 .verify = cpufreq_generic_frequency_table_verify,
276 .target_index = mtk_cpufreq_hw_target_index,
277 .get = mtk_cpufreq_hw_get,
278 .init = mtk_cpufreq_hw_cpu_init,
279 .exit = mtk_cpufreq_hw_cpu_exit,
> 280 .register_em = mtk_cpufreq_register_em,
281 .fast_switch = mtk_cpufreq_hw_fast_switch,
282 .name = "mtk-cpufreq-hw",
283 .attr = cpufreq_generic_attr,
284 };
285
---
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: 54084 bytes --]
[-- Attachment #3: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Hector Yuan <hector.yuan@mediatek.com>,
linux-mediatek@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Viresh Kumar <viresh.kumar@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
wsd_upstream@mediatek.com, hector.yuan@mediatek.com
Subject: Re: [PATCH v15 3/3] cpufreq: mediatek-hw: Add support for CPUFREQ HW
Date: Sat, 4 Sep 2021 00:34:27 +0800 [thread overview]
Message-ID: <202109040020.Oywwph2u-lkp@intel.com> (raw)
In-Reply-To: <1630658364-6192-4-git-send-email-hector.yuan@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]
Hi Hector,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on soc/for-next]
[also build test ERROR on robh/for-next v5.14]
[cannot apply to pm/linux-next next-20210903]
[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/Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/a7148c526ed4198bbe953fb17e52257f0d50d8c4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
git checkout a7148c526ed4198bbe953fb17e52257f0d50d8c4
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/cpufreq/
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/cpufreq/mediatek-cpufreq-hw.c:280:10: error: 'struct cpufreq_driver' has no member named 'register_em'
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~
>> drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: error: initialization of 'int (*)(struct cpufreq_policy *)' from incompatible pointer type 'void (*)(struct cpufreq_policy *)' [-Werror=incompatible-pointer-types]
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: note: (near initialization for 'cpufreq_mtk_hw_driver.suspend')
cc1: some warnings being treated as errors
vim +280 drivers/cpufreq/mediatek-cpufreq-hw.c
270
271 static struct cpufreq_driver cpufreq_mtk_hw_driver = {
272 .flags = CPUFREQ_NEED_INITIAL_FREQ_CHECK |
273 CPUFREQ_HAVE_GOVERNOR_PER_POLICY |
274 CPUFREQ_IS_COOLING_DEV,
275 .verify = cpufreq_generic_frequency_table_verify,
276 .target_index = mtk_cpufreq_hw_target_index,
277 .get = mtk_cpufreq_hw_get,
278 .init = mtk_cpufreq_hw_cpu_init,
279 .exit = mtk_cpufreq_hw_cpu_exit,
> 280 .register_em = mtk_cpufreq_register_em,
281 .fast_switch = mtk_cpufreq_hw_fast_switch,
282 .name = "mtk-cpufreq-hw",
283 .attr = cpufreq_generic_attr,
284 };
285
---
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: 54084 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v15 3/3] cpufreq: mediatek-hw: Add support for CPUFREQ HW
Date: Sat, 04 Sep 2021 00:34:27 +0800 [thread overview]
Message-ID: <202109040020.Oywwph2u-lkp@intel.com> (raw)
In-Reply-To: <1630658364-6192-4-git-send-email-hector.yuan@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 3121 bytes --]
Hi Hector,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on soc/for-next]
[also build test ERROR on robh/for-next v5.14]
[cannot apply to pm/linux-next next-20210903]
[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/Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/a7148c526ed4198bbe953fb17e52257f0d50d8c4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hector-Yuan/dt-bindings-cpufreq-add-bindings-for-MediaTek-cpufreq-HW/20210903-174004
git checkout a7148c526ed4198bbe953fb17e52257f0d50d8c4
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/cpufreq/
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/cpufreq/mediatek-cpufreq-hw.c:280:10: error: 'struct cpufreq_driver' has no member named 'register_em'
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~
>> drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: error: initialization of 'int (*)(struct cpufreq_policy *)' from incompatible pointer type 'void (*)(struct cpufreq_policy *)' [-Werror=incompatible-pointer-types]
280 | .register_em = mtk_cpufreq_register_em,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/mediatek-cpufreq-hw.c:280:27: note: (near initialization for 'cpufreq_mtk_hw_driver.suspend')
cc1: some warnings being treated as errors
vim +280 drivers/cpufreq/mediatek-cpufreq-hw.c
270
271 static struct cpufreq_driver cpufreq_mtk_hw_driver = {
272 .flags = CPUFREQ_NEED_INITIAL_FREQ_CHECK |
273 CPUFREQ_HAVE_GOVERNOR_PER_POLICY |
274 CPUFREQ_IS_COOLING_DEV,
275 .verify = cpufreq_generic_frequency_table_verify,
276 .target_index = mtk_cpufreq_hw_target_index,
277 .get = mtk_cpufreq_hw_get,
278 .init = mtk_cpufreq_hw_cpu_init,
279 .exit = mtk_cpufreq_hw_cpu_exit,
> 280 .register_em = mtk_cpufreq_register_em,
281 .fast_switch = mtk_cpufreq_hw_fast_switch,
282 .name = "mtk-cpufreq-hw",
283 .attr = cpufreq_generic_attr,
284 };
285
---
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: 54084 bytes --]
next prev parent reply other threads:[~2021-09-03 16:35 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 8:39 [PATCH v15] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-03 8:39 ` [PATCH v15 1/3] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-03 16:35 ` Rob Herring
2021-09-03 16:35 ` Rob Herring
2021-09-03 16:35 ` Rob Herring
2021-09-03 8:39 ` [PATCH v15 2/3] cpufreq: Add of_perf_domain_get_sharing_cpumask Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-04 22:32 ` kernel test robot
2021-09-04 22:32 ` kernel test robot
2021-09-04 22:32 ` kernel test robot
2021-09-04 22:32 ` kernel test robot
2021-09-06 9:43 ` Viresh Kumar
2021-09-06 9:43 ` Viresh Kumar
2021-09-06 9:43 ` Viresh Kumar
2021-09-06 13:11 ` Hector Yuan
2021-09-06 13:11 ` Hector Yuan
2021-09-06 13:11 ` Hector Yuan
2021-09-03 8:39 ` [PATCH v15 3/3] cpufreq: mediatek-hw: Add support for CPUFREQ HW Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-03 8:39 ` Hector Yuan
2021-09-03 15:54 ` kernel test robot
2021-09-03 15:54 ` kernel test robot
2021-09-03 15:54 ` kernel test robot
2021-09-03 15:54 ` kernel test robot
2021-09-03 16:34 ` kernel test robot [this message]
2021-09-03 16:34 ` kernel test robot
2021-09-03 16:34 ` kernel test robot
2021-09-03 16:34 ` kernel test robot
2021-09-06 9:44 ` Viresh Kumar
2021-09-06 9:44 ` Viresh Kumar
2021-09-06 9:44 ` Viresh Kumar
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=202109040020.Oywwph2u-lkp@intel.com \
--to=lkp@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=hector.yuan@mediatek.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=robh+dt@kernel.org \
--cc=viresh.kumar@linaro.org \
--cc=wsd_upstream@mediatek.com \
/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.