* [linux-next:master 4502/10945] drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32'
@ 2021-08-29 16:24 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-08-29 16:24 UTC (permalink / raw)
To: Douglas Anderson
Cc: kbuild-all, Linux Memory Management List, Bjorn Andersson
[-- Attachment #1: Type: text/plain, Size: 2334 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5e63226c72287bc6c6724d4fc7e157af0e3d7908
commit: 6feba6a62c577e98bd9214b73c17860166ac8b91 [4502/10945] PM: AVS: qcom-cpr: Use nvmem_cell_read_variable_le_u32()
config: arm64-randconfig-r011-20210829 (attached as .config)
compiler: aarch64-linux-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/next/linux-next.git/commit/?id=6feba6a62c577e98bd9214b73c17860166ac8b91
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 6feba6a62c577e98bd9214b73c17860166ac8b91
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
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/soc/qcom/cpr.c: In function 'cpr_populate_ring_osc_idx':
>> drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32' [-Werror=implicit-function-declaration]
814 | ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->ring_osc, &data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/nvmem_cell_read_variable_le_u32 +814 drivers/soc/qcom/cpr.c
803
804 static int
805 cpr_populate_ring_osc_idx(struct cpr_drv *drv)
806 {
807 struct fuse_corner *fuse = drv->fuse_corners;
808 struct fuse_corner *end = fuse + drv->desc->num_fuse_corners;
809 const struct cpr_fuse *fuses = drv->cpr_fuses;
810 u32 data;
811 int ret;
812
813 for (; fuse < end; fuse++, fuses++) {
> 814 ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->ring_osc, &data);
815 if (ret)
816 return ret;
817 fuse->ring_osc_idx = data;
818 }
819
820 return 0;
821 }
822
---
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: 36488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-next:master 4502/10945] drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32'
@ 2021-08-29 16:24 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-08-29 16:24 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2389 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5e63226c72287bc6c6724d4fc7e157af0e3d7908
commit: 6feba6a62c577e98bd9214b73c17860166ac8b91 [4502/10945] PM: AVS: qcom-cpr: Use nvmem_cell_read_variable_le_u32()
config: arm64-randconfig-r011-20210829 (attached as .config)
compiler: aarch64-linux-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/next/linux-next.git/commit/?id=6feba6a62c577e98bd9214b73c17860166ac8b91
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 6feba6a62c577e98bd9214b73c17860166ac8b91
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
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/soc/qcom/cpr.c: In function 'cpr_populate_ring_osc_idx':
>> drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32' [-Werror=implicit-function-declaration]
814 | ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->ring_osc, &data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/nvmem_cell_read_variable_le_u32 +814 drivers/soc/qcom/cpr.c
803
804 static int
805 cpr_populate_ring_osc_idx(struct cpr_drv *drv)
806 {
807 struct fuse_corner *fuse = drv->fuse_corners;
808 struct fuse_corner *end = fuse + drv->desc->num_fuse_corners;
809 const struct cpr_fuse *fuses = drv->cpr_fuses;
810 u32 data;
811 int ret;
812
813 for (; fuse < end; fuse++, fuses++) {
> 814 ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->ring_osc, &data);
815 if (ret)
816 return ret;
817 fuse->ring_osc_idx = data;
818 }
819
820 return 0;
821 }
822
---
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: 36488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-next:master 4502/10945] drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32'
2021-08-29 16:24 ` kernel test robot
@ 2021-08-30 15:36 ` Doug Anderson
-1 siblings, 0 replies; 4+ messages in thread
From: Doug Anderson @ 2021-08-30 15:36 UTC (permalink / raw)
To: kernel test robot
Cc: kbuild-all, Linux Memory Management List, Bjorn Andersson
Hi,
On Sun, Aug 29, 2021 at 9:25 AM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 5e63226c72287bc6c6724d4fc7e157af0e3d7908
> commit: 6feba6a62c577e98bd9214b73c17860166ac8b91 [4502/10945] PM: AVS: qcom-cpr: Use nvmem_cell_read_variable_le_u32()
> config: arm64-randconfig-r011-20210829 (attached as .config)
> compiler: aarch64-linux-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/next/linux-next.git/commit/?id=6feba6a62c577e98bd9214b73c17860166ac8b91
> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git fetch --no-tags linux-next master
> git checkout 6feba6a62c577e98bd9214b73c17860166ac8b91
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
>
> 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/soc/qcom/cpr.c: In function 'cpr_populate_ring_osc_idx':
> >> drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32' [-Werror=implicit-function-declaration]
> 814 | ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->ring_osc, &data);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
Thanks for the report and sorry for the breakage! Should be fixed by:
https://lore.kernel.org/lkml/20210830083449.1.I38e95343209fe1f808c3b4860795a00a2b539701@changeid/
-Doug
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-next:master 4502/10945] drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32'
@ 2021-08-30 15:36 ` Doug Anderson
0 siblings, 0 replies; 4+ messages in thread
From: Doug Anderson @ 2021-08-30 15:36 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1921 bytes --]
Hi,
On Sun, Aug 29, 2021 at 9:25 AM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 5e63226c72287bc6c6724d4fc7e157af0e3d7908
> commit: 6feba6a62c577e98bd9214b73c17860166ac8b91 [4502/10945] PM: AVS: qcom-cpr: Use nvmem_cell_read_variable_le_u32()
> config: arm64-randconfig-r011-20210829 (attached as .config)
> compiler: aarch64-linux-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/next/linux-next.git/commit/?id=6feba6a62c577e98bd9214b73c17860166ac8b91
> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git fetch --no-tags linux-next master
> git checkout 6feba6a62c577e98bd9214b73c17860166ac8b91
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
>
> 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/soc/qcom/cpr.c: In function 'cpr_populate_ring_osc_idx':
> >> drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32' [-Werror=implicit-function-declaration]
> 814 | ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->ring_osc, &data);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
Thanks for the report and sorry for the breakage! Should be fixed by:
https://lore.kernel.org/lkml/20210830083449.1.I38e95343209fe1f808c3b4860795a00a2b539701(a)changeid/
-Doug
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-30 15:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-29 16:24 [linux-next:master 4502/10945] drivers/soc/qcom/cpr.c:814:23: error: implicit declaration of function 'nvmem_cell_read_variable_le_u32' kernel test robot
2021-08-29 16:24 ` kernel test robot
2021-08-30 15:36 ` Doug Anderson
2021-08-30 15:36 ` Doug Anderson
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.