[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VeaBssymMOvxSkMjyRD4J_BTcA+n3b9qD8-QQTH5uUFTQ@mail.gmail.com>
Date: Thu, 23 Jun 2022 23:28:43 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: kernel test robot <lkp@...el.com>
Cc: Hector Martin <marcan@...can.st>, kbuild-all@...ts.01.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19:
error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'?
On Thu, Jun 23, 2022 at 11:23 PM kernel test robot <lkp@...el.com> wrote:
>
> tree: https://github.com/AsahiLinux/linux bits/130-cpufreq
> head: c1f94f72b7ae14d506b361283ef25624368b1a32
> commit: 4b2ae5bd4433c2282e699dc54bd26b066ad28f85 [3/4] cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states
> config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220624/202206240410.O3xJ4UZE-lkp@intel.com/config)
> compiler: arm-linux-gnueabi-gcc (GCC) 11.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://github.com/AsahiLinux/linux/commit/4b2ae5bd4433c2282e699dc54bd26b066ad28f85
> git remote add asahilinux https://github.com/AsahiLinux/linux
> git fetch --no-tags asahilinux bits/130-cpufreq
> git checkout 4b2ae5bd4433c2282e699dc54bd26b066ad28f85
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_get_rate':
> >> drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? [-Werror=implicit-function-declaration]
> 67 | u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
> | ^~~~~~~~~~~~~
> | readl_relaxed
Consider to use io-64-non-atomic-lo-hi.h or so
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists