All of lore.kernel.org
 help / color / mirror / Atom feed
* [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
@ 2021-10-07 10:35 ` kernel test robot
  0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2021-10-07 10:35 UTC (permalink / raw)
  To: Vincent Donnefort
  Cc: kbuild-all, linux-acpi, devel, linux-pm, Rafael J. Wysocki

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
        git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
        git fetch --no-tags rafael-pm bleeding-edge
        git checkout 1f39fa0dccff71d4788089b5e617229b19166867
        # 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: In function 'mtk_cpufreq_hw_fast_switch':
>> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
     112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
   include/linux/cpufreq.h:814:19: note: declared here
     814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/cpufreq_table_find_index_dl +112 drivers/cpufreq/mediatek-cpufreq-hw.c

4855e26bcf4d28 Hector.Yuan 2021-09-03  105  
4855e26bcf4d28 Hector.Yuan 2021-09-03  106  static unsigned int mtk_cpufreq_hw_fast_switch(struct cpufreq_policy *policy,
4855e26bcf4d28 Hector.Yuan 2021-09-03  107  					       unsigned int target_freq)
4855e26bcf4d28 Hector.Yuan 2021-09-03  108  {
4855e26bcf4d28 Hector.Yuan 2021-09-03  109  	struct mtk_cpufreq_data *data = policy->driver_data;
4855e26bcf4d28 Hector.Yuan 2021-09-03  110  	unsigned int index;
4855e26bcf4d28 Hector.Yuan 2021-09-03  111  
4855e26bcf4d28 Hector.Yuan 2021-09-03 @112  	index = cpufreq_table_find_index_dl(policy, target_freq);
4855e26bcf4d28 Hector.Yuan 2021-09-03  113  
4855e26bcf4d28 Hector.Yuan 2021-09-03  114  	writel_relaxed(index, data->reg_bases[REG_FREQ_PERF_STATE]);
4855e26bcf4d28 Hector.Yuan 2021-09-03  115  
4855e26bcf4d28 Hector.Yuan 2021-09-03  116  	return policy->freq_table[index].frequency;
4855e26bcf4d28 Hector.Yuan 2021-09-03  117  }
4855e26bcf4d28 Hector.Yuan 2021-09-03  118  

:::::: The code at line 112 was first introduced by commit
:::::: 4855e26bcf4d28956f3e33231b961610a0d4a72d cpufreq: mediatek-hw: Add support for CPUFREQ HW

:::::: TO: Hector.Yuan <hector.yuan@mediatek.com>
:::::: CC: Viresh Kumar <viresh.kumar@linaro.org>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
@ 2021-10-07 10:35 ` kernel test robot
  0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2021-10-07 10:35 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
        git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
        git fetch --no-tags rafael-pm bleeding-edge
        git checkout 1f39fa0dccff71d4788089b5e617229b19166867
        # 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: In function 'mtk_cpufreq_hw_fast_switch':
>> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
     112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
   include/linux/cpufreq.h:814:19: note: declared here
     814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/cpufreq_table_find_index_dl +112 drivers/cpufreq/mediatek-cpufreq-hw.c

4855e26bcf4d28 Hector.Yuan 2021-09-03  105  
4855e26bcf4d28 Hector.Yuan 2021-09-03  106  static unsigned int mtk_cpufreq_hw_fast_switch(struct cpufreq_policy *policy,
4855e26bcf4d28 Hector.Yuan 2021-09-03  107  					       unsigned int target_freq)
4855e26bcf4d28 Hector.Yuan 2021-09-03  108  {
4855e26bcf4d28 Hector.Yuan 2021-09-03  109  	struct mtk_cpufreq_data *data = policy->driver_data;
4855e26bcf4d28 Hector.Yuan 2021-09-03  110  	unsigned int index;
4855e26bcf4d28 Hector.Yuan 2021-09-03  111  
4855e26bcf4d28 Hector.Yuan 2021-09-03 @112  	index = cpufreq_table_find_index_dl(policy, target_freq);
4855e26bcf4d28 Hector.Yuan 2021-09-03  113  
4855e26bcf4d28 Hector.Yuan 2021-09-03  114  	writel_relaxed(index, data->reg_bases[REG_FREQ_PERF_STATE]);
4855e26bcf4d28 Hector.Yuan 2021-09-03  115  
4855e26bcf4d28 Hector.Yuan 2021-09-03  116  	return policy->freq_table[index].frequency;
4855e26bcf4d28 Hector.Yuan 2021-09-03  117  }
4855e26bcf4d28 Hector.Yuan 2021-09-03  118  

:::::: The code at line 112 was first introduced by commit
:::::: 4855e26bcf4d28956f3e33231b961610a0d4a72d cpufreq: mediatek-hw: Add support for CPUFREQ HW

:::::: TO: Hector.Yuan <hector.yuan@mediatek.com>
:::::: CC: Viresh Kumar <viresh.kumar@linaro.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: 40079 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Devel] [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
@ 2021-10-07 10:35 ` kernel test robot
  0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2021-10-07 10:35 UTC (permalink / raw)
  To: devel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
        git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
        git fetch --no-tags rafael-pm bleeding-edge
        git checkout 1f39fa0dccff71d4788089b5e617229b19166867
        # 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(a)intel.com>

All errors (new ones prefixed by >>):

   drivers/cpufreq/mediatek-cpufreq-hw.c: In function 'mtk_cpufreq_hw_fast_switch':
>> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
     112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
   include/linux/cpufreq.h:814:19: note: declared here
     814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/cpufreq_table_find_index_dl +112 drivers/cpufreq/mediatek-cpufreq-hw.c

4855e26bcf4d28 Hector.Yuan 2021-09-03  105  
4855e26bcf4d28 Hector.Yuan 2021-09-03  106  static unsigned int mtk_cpufreq_hw_fast_switch(struct cpufreq_policy *policy,
4855e26bcf4d28 Hector.Yuan 2021-09-03  107  					       unsigned int target_freq)
4855e26bcf4d28 Hector.Yuan 2021-09-03  108  {
4855e26bcf4d28 Hector.Yuan 2021-09-03  109  	struct mtk_cpufreq_data *data = policy->driver_data;
4855e26bcf4d28 Hector.Yuan 2021-09-03  110  	unsigned int index;
4855e26bcf4d28 Hector.Yuan 2021-09-03  111  
4855e26bcf4d28 Hector.Yuan 2021-09-03 @112  	index = cpufreq_table_find_index_dl(policy, target_freq);
4855e26bcf4d28 Hector.Yuan 2021-09-03  113  
4855e26bcf4d28 Hector.Yuan 2021-09-03  114  	writel_relaxed(index, data->reg_bases[REG_FREQ_PERF_STATE]);
4855e26bcf4d28 Hector.Yuan 2021-09-03  115  
4855e26bcf4d28 Hector.Yuan 2021-09-03  116  	return policy->freq_table[index].frequency;
4855e26bcf4d28 Hector.Yuan 2021-09-03  117  }
4855e26bcf4d28 Hector.Yuan 2021-09-03  118  

:::::: The code at line 112 was first introduced by commit
:::::: 4855e26bcf4d28956f3e33231b961610a0d4a72d cpufreq: mediatek-hw: Add support for CPUFREQ HW

:::::: TO: Hector.Yuan <hector.yuan(a)mediatek.com>
:::::: CC: Viresh Kumar <viresh.kumar(a)linaro.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: 40079 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
  2021-10-07 10:35 ` kernel test robot
@ 2021-10-07 11:26   ` Vincent Donnefort
  -1 siblings, 0 replies; 8+ messages in thread
From: Vincent Donnefort @ 2021-10-07 11:26 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, linux-acpi, devel, linux-pm, Rafael J. Wysocki


On Thu, Oct 07, 2021 at 06:35:55PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
> commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
> config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
>         git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
>         git fetch --no-tags rafael-pm bleeding-edge
>         git checkout 1f39fa0dccff71d4788089b5e617229b19166867
>         # 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: In function 'mtk_cpufreq_hw_fast_switch':
> >> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
>      112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
>          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>    In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
>    include/linux/cpufreq.h:814:19: note: declared here
>      814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
>          |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>

Rafael,

The issue is this patch

  cpufreq: Introducing CPUFREQ_RELATION_E

How would you like to proceed? Do you want a v8 patch-set with the fix or just
that patch updated?

[...]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
@ 2021-10-07 11:26   ` Vincent Donnefort
  0 siblings, 0 replies; 8+ messages in thread
From: Vincent Donnefort @ 2021-10-07 11:26 UTC (permalink / raw)
  To: kbuild-all

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


On Thu, Oct 07, 2021 at 06:35:55PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
> commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
> config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
>         git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
>         git fetch --no-tags rafael-pm bleeding-edge
>         git checkout 1f39fa0dccff71d4788089b5e617229b19166867
>         # 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: In function 'mtk_cpufreq_hw_fast_switch':
> >> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
>      112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
>          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>    In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
>    include/linux/cpufreq.h:814:19: note: declared here
>      814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
>          |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>

Rafael,

The issue is this patch

  cpufreq: Introducing CPUFREQ_RELATION_E

How would you like to proceed? Do you want a v8 patch-set with the fix or just
that patch updated?

[...]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
  2021-10-07 11:26   ` Vincent Donnefort
  (?)
@ 2021-10-07 14:59     ` Rafael J. Wysocki
  -1 siblings, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2021-10-07 14:59 UTC (permalink / raw)
  To: Vincent Donnefort
  Cc: kernel test robot, kbuild-all, ACPI Devel Maling List,
	open list:ACPI COMPONENT ARCHITECTURE (ACPICA),
	Linux PM, Rafael J. Wysocki

On Thu, Oct 7, 2021 at 1:26 PM Vincent Donnefort
<vincent.donnefort@arm.com> wrote:
>
>
> On Thu, Oct 07, 2021 at 06:35:55PM +0800, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> > head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
> > commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
> > config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
> >         git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> >         git fetch --no-tags rafael-pm bleeding-edge
> >         git checkout 1f39fa0dccff71d4788089b5e617229b19166867
> >         # 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: In function 'mtk_cpufreq_hw_fast_switch':
> > >> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
> >      112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
> >          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >    In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
> >    include/linux/cpufreq.h:814:19: note: declared here
> >      814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
> >          |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
> Rafael,
>
> The issue is this patch
>
>   cpufreq: Introducing CPUFREQ_RELATION_E
>
> How would you like to proceed? Do you want a v8 patch-set with the fix or just
> that patch updated?

Please send an incremental fix on top of the series.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
@ 2021-10-07 14:59     ` Rafael J. Wysocki
  0 siblings, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2021-10-07 14:59 UTC (permalink / raw)
  To: kbuild-all

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

On Thu, Oct 7, 2021 at 1:26 PM Vincent Donnefort
<vincent.donnefort@arm.com> wrote:
>
>
> On Thu, Oct 07, 2021 at 06:35:55PM +0800, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> > head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
> > commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
> > config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
> >         git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> >         git fetch --no-tags rafael-pm bleeding-edge
> >         git checkout 1f39fa0dccff71d4788089b5e617229b19166867
> >         # 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: In function 'mtk_cpufreq_hw_fast_switch':
> > >> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
> >      112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
> >          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >    In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
> >    include/linux/cpufreq.h:814:19: note: declared here
> >      814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
> >          |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
> Rafael,
>
> The issue is this patch
>
>   cpufreq: Introducing CPUFREQ_RELATION_E
>
> How would you like to proceed? Do you want a v8 patch-set with the fix or just
> that patch updated?

Please send an incremental fix on top of the series.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Devel] Re: [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
@ 2021-10-07 14:59     ` Rafael J. Wysocki
  0 siblings, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2021-10-07 14:59 UTC (permalink / raw)
  To: devel

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

On Thu, Oct 7, 2021 at 1:26 PM Vincent Donnefort
<vincent.donnefort(a)arm.com> wrote:
>
>
> On Thu, Oct 07, 2021 at 06:35:55PM +0800, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> > head:   6cb3f7cfca6963de4f486c4bd99fdefa56f75870
> > commit: 1f39fa0dccff71d4788089b5e617229b19166867 [47/54] cpufreq: Introducing CPUFREQ_RELATION_E
> > config: arm-buildonly-randconfig-r001-20211007 (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://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=1f39fa0dccff71d4788089b5e617229b19166867
> >         git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> >         git fetch --no-tags rafael-pm bleeding-edge
> >         git checkout 1f39fa0dccff71d4788089b5e617229b19166867
> >         # 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(a)intel.com>
> >
> > All errors (new ones prefixed by >>):
> >
> >    drivers/cpufreq/mediatek-cpufreq-hw.c: In function 'mtk_cpufreq_hw_fast_switch':
> > >> drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl'
> >      112 |         index = cpufreq_table_find_index_dl(policy, target_freq);
> >          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >    In file included from drivers/cpufreq/mediatek-cpufreq-hw.c:7:
> >    include/linux/cpufreq.h:814:19: note: declared here
> >      814 | static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
> >          |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
> Rafael,
>
> The issue is this patch
>
>   cpufreq: Introducing CPUFREQ_RELATION_E
>
> How would you like to proceed? Do you want a v8 patch-set with the fix or just
> that patch updated?

Please send an incremental fix on top of the series.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-07 14:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 10:35 [rafael-pm:bleeding-edge 47/54] drivers/cpufreq/mediatek-cpufreq-hw.c:112:17: error: too few arguments to function 'cpufreq_table_find_index_dl' kernel test robot
2021-10-07 10:35 ` [Devel] " kernel test robot
2021-10-07 10:35 ` kernel test robot
2021-10-07 11:26 ` Vincent Donnefort
2021-10-07 11:26   ` Vincent Donnefort
2021-10-07 14:59   ` Rafael J. Wysocki
2021-10-07 14:59     ` [Devel] " Rafael J. Wysocki
2021-10-07 14:59     ` Rafael J. Wysocki

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.