All of lore.kernel.org
 help / color / mirror / Atom feed
* [clk:clk-mediatek 5/6] drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs'
@ 2020-05-30 22:25 ` kbuild test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kbuild test robot @ 2020-05-30 22:25 UTC (permalink / raw)
  To: Owen, Chen,
  Cc: kbuild-all, Stephen Boyd, clang-built-linux, Mars Cheng,
	Macpaul Lin, linux-clk, linux-arm-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
head:   571cfadcc628dd5591444f7289e27445ea732f4c
commit: 1aca9939bf72893887cb7e3455e44c864bada2f9 [5/6] clk: mediatek: Add MT6765 clock support
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 1aca9939bf72893887cb7e3455e44c864bada2f9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs' [-Wunused-const-variable]
static const struct mtk_gate_regs ifr0_cg_regs = {
^
>> drivers/clk/mediatek/clk-mt6765.c:543:35: warning: unused variable 'ifr1_cg_regs' [-Wunused-const-variable]
static const struct mtk_gate_regs ifr1_cg_regs = {
^
2 warnings generated.

vim +/ifr0_cg_regs +537 drivers/clk/mediatek/clk-mt6765.c

   536	
 > 537	static const struct mtk_gate_regs ifr0_cg_regs = {
   538		.set_ofs = 0x200,
   539		.clr_ofs = 0x200,
   540		.sta_ofs = 0x200,
   541	};
   542	
 > 543	static const struct mtk_gate_regs ifr1_cg_regs = {
   544		.set_ofs = 0x74,
   545		.clr_ofs = 0x74,
   546		.sta_ofs = 0x74,
   547	};
   548	

---
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: 73488 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

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

* [clk:clk-mediatek 5/6] drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs'
@ 2020-05-30 22:25 ` kbuild test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kbuild test robot @ 2020-05-30 22:25 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
head:   571cfadcc628dd5591444f7289e27445ea732f4c
commit: 1aca9939bf72893887cb7e3455e44c864bada2f9 [5/6] clk: mediatek: Add MT6765 clock support
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 1aca9939bf72893887cb7e3455e44c864bada2f9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs' [-Wunused-const-variable]
static const struct mtk_gate_regs ifr0_cg_regs = {
^
>> drivers/clk/mediatek/clk-mt6765.c:543:35: warning: unused variable 'ifr1_cg_regs' [-Wunused-const-variable]
static const struct mtk_gate_regs ifr1_cg_regs = {
^
2 warnings generated.

vim +/ifr0_cg_regs +537 drivers/clk/mediatek/clk-mt6765.c

   536	
 > 537	static const struct mtk_gate_regs ifr0_cg_regs = {
   538		.set_ofs = 0x200,
   539		.clr_ofs = 0x200,
   540		.sta_ofs = 0x200,
   541	};
   542	
 > 543	static const struct mtk_gate_regs ifr1_cg_regs = {
   544		.set_ofs = 0x74,
   545		.clr_ofs = 0x74,
   546		.sta_ofs = 0x74,
   547	};
   548	

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

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

* Re: [clk:clk-mediatek 5/6] drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs'
  2020-05-30 22:25 ` kbuild test robot
  (?)
@ 2020-06-09 21:16   ` Stephen Boyd
  -1 siblings, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2020-06-09 21:16 UTC (permalink / raw)
  To: Owen, Chen,, kbuild test robot
  Cc: kbuild-all, clang-built-linux, linux-clk, linux-arm-kernel,
	Mars Cheng, Macpaul Lin

Quoting kbuild test robot (2020-05-30 15:25:16)
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
> head:   571cfadcc628dd5591444f7289e27445ea732f4c
> commit: 1aca9939bf72893887cb7e3455e44c864bada2f9 [5/6] clk: mediatek: Add MT6765 clock support
> config: x86_64-allyesconfig (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
> 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
>         # install x86_64 cross compiling tool for clang build
>         # apt-get install binutils-x86-64-linux-gnu
>         git checkout 1aca9939bf72893887cb7e3455e44c864bada2f9
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
> 
> >> drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs' [-Wunused-const-variable]
> static const struct mtk_gate_regs ifr0_cg_regs = {
> ^
> >> drivers/clk/mediatek/clk-mt6765.c:543:35: warning: unused variable 'ifr1_cg_regs' [-Wunused-const-variable]
> static const struct mtk_gate_regs ifr1_cg_regs = {
> ^
> 2 warnings generated.
> 
> vim +/ifr0_cg_regs +537 drivers/clk/mediatek/clk-mt6765.c
> 
>    536  
>  > 537  static const struct mtk_gate_regs ifr0_cg_regs = {
>    538          .set_ofs = 0x200,
>    539          .clr_ofs = 0x200,
>    540          .sta_ofs = 0x200,
>    541  };
>    542  
>  > 543  static const struct mtk_gate_regs ifr1_cg_regs = {
>    544          .set_ofs = 0x74,
>    545          .clr_ofs = 0x74,
>    546          .sta_ofs = 0x74,
>    547  };
>    548  
> 

Thanks. I'm just going to pile a patch on top of clk-next to remove
these two structures.

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

* Re: [clk:clk-mediatek 5/6] drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs'
@ 2020-06-09 21:16   ` Stephen Boyd
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2020-06-09 21:16 UTC (permalink / raw)
  To: Owen, Chen,, kbuild test robot
  Cc: kbuild-all, clang-built-linux, Mars Cheng, Macpaul Lin,
	linux-clk, linux-arm-kernel

Quoting kbuild test robot (2020-05-30 15:25:16)
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
> head:   571cfadcc628dd5591444f7289e27445ea732f4c
> commit: 1aca9939bf72893887cb7e3455e44c864bada2f9 [5/6] clk: mediatek: Add MT6765 clock support
> config: x86_64-allyesconfig (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
> 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
>         # install x86_64 cross compiling tool for clang build
>         # apt-get install binutils-x86-64-linux-gnu
>         git checkout 1aca9939bf72893887cb7e3455e44c864bada2f9
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
> 
> >> drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs' [-Wunused-const-variable]
> static const struct mtk_gate_regs ifr0_cg_regs = {
> ^
> >> drivers/clk/mediatek/clk-mt6765.c:543:35: warning: unused variable 'ifr1_cg_regs' [-Wunused-const-variable]
> static const struct mtk_gate_regs ifr1_cg_regs = {
> ^
> 2 warnings generated.
> 
> vim +/ifr0_cg_regs +537 drivers/clk/mediatek/clk-mt6765.c
> 
>    536  
>  > 537  static const struct mtk_gate_regs ifr0_cg_regs = {
>    538          .set_ofs = 0x200,
>    539          .clr_ofs = 0x200,
>    540          .sta_ofs = 0x200,
>    541  };
>    542  
>  > 543  static const struct mtk_gate_regs ifr1_cg_regs = {
>    544          .set_ofs = 0x74,
>    545          .clr_ofs = 0x74,
>    546          .sta_ofs = 0x74,
>    547  };
>    548  
> 

Thanks. I'm just going to pile a patch on top of clk-next to remove
these two structures.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [clk:clk-mediatek 5/6] drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs'
@ 2020-06-09 21:16   ` Stephen Boyd
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2020-06-09 21:16 UTC (permalink / raw)
  To: kbuild-all

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

Quoting kbuild test robot (2020-05-30 15:25:16)
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
> head:   571cfadcc628dd5591444f7289e27445ea732f4c
> commit: 1aca9939bf72893887cb7e3455e44c864bada2f9 [5/6] clk: mediatek: Add MT6765 clock support
> config: x86_64-allyesconfig (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
> 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
>         # install x86_64 cross compiling tool for clang build
>         # apt-get install binutils-x86-64-linux-gnu
>         git checkout 1aca9939bf72893887cb7e3455e44c864bada2f9
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
> 
> >> drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs' [-Wunused-const-variable]
> static const struct mtk_gate_regs ifr0_cg_regs = {
> ^
> >> drivers/clk/mediatek/clk-mt6765.c:543:35: warning: unused variable 'ifr1_cg_regs' [-Wunused-const-variable]
> static const struct mtk_gate_regs ifr1_cg_regs = {
> ^
> 2 warnings generated.
> 
> vim +/ifr0_cg_regs +537 drivers/clk/mediatek/clk-mt6765.c
> 
>    536  
>  > 537  static const struct mtk_gate_regs ifr0_cg_regs = {
>    538          .set_ofs = 0x200,
>    539          .clr_ofs = 0x200,
>    540          .sta_ofs = 0x200,
>    541  };
>    542  
>  > 543  static const struct mtk_gate_regs ifr1_cg_regs = {
>    544          .set_ofs = 0x74,
>    545          .clr_ofs = 0x74,
>    546          .sta_ofs = 0x74,
>    547  };
>    548  
> 

Thanks. I'm just going to pile a patch on top of clk-next to remove
these two structures.

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

end of thread, other threads:[~2020-06-09 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30 22:25 [clk:clk-mediatek 5/6] drivers/clk/mediatek/clk-mt6765.c:537:35: warning: unused variable 'ifr0_cg_regs' kbuild test robot
2020-05-30 22:25 ` kbuild test robot
2020-06-09 21:16 ` Stephen Boyd
2020-06-09 21:16   ` Stephen Boyd
2020-06-09 21:16   ` Stephen Boyd

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.