All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-5.4 103/116] drivers/media/pci/intel/ipu6/../ipu-buttress.c:1117:29: warning: unused variable 'ipu_buttress_clk_sensor_ops'
Date: Thu, 26 Nov 2020 16:36:20 +0800	[thread overview]
Message-ID: <202011261616.MSc3JGPI-lkp@intel.com> (raw)

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head:   0dc87e5b77127455d6fb746ac0f980f2b85d75b0
commit: 83d148360cd5f0b1f82fcf95471ac063acd06fcb [103/116] CHROMIUM: media: intel-ipu6: Add IPU6 and IPU6SE drivers
config: x86_64-randconfig-r016-20201126 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 175ebad958a0ebaf6c56c20ab30b9d4347742c29)
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 remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.4
        git checkout 83d148360cd5f0b1f82fcf95471ac063acd06fcb
        # 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: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/media/pci/intel/ipu6/../ipu-mmu.c:458:22: warning: no previous prototype for function 'ipu_mmu_alloc' [-Wmissing-prototypes]
   struct ipu_mmu_info *ipu_mmu_alloc(struct ipu_device *isp)
                        ^
   drivers/media/pci/intel/ipu6/../ipu-mmu.c:458:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct ipu_mmu_info *ipu_mmu_alloc(struct ipu_device *isp)
   ^
   static 
   1 warning generated.
--
>> drivers/media/pci/intel/ipu6/../ipu-buttress.c:1117:29: warning: unused variable 'ipu_buttress_clk_sensor_ops' [-Wunused-const-variable]
   static const struct clk_ops ipu_buttress_clk_sensor_ops = {
                               ^
>> drivers/media/pci/intel/ipu6/../ipu-buttress.c:1122:29: warning: unused variable 'ipu_buttress_clk_sensor_ops_parent' [-Wunused-const-variable]
   static const struct clk_ops ipu_buttress_clk_sensor_ops_parent = {
                               ^
   2 warnings generated.
--
>> drivers/media/pci/intel/ipu6/ipu6-isys-phy.c:596:21: warning: no previous prototype for function 'ipu6_isys_phy_dump_status' [-Wmissing-prototypes]
   void __maybe_unused ipu6_isys_phy_dump_status(struct ipu_isys *isys,
                       ^
   drivers/media/pci/intel/ipu6/ipu6-isys-phy.c:596:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __maybe_unused ipu6_isys_phy_dump_status(struct ipu_isys *isys,
   ^
   static 
   1 warning generated.
--
>> drivers/media/pci/intel/ipu6/ipu6-psys.c:187:6: warning: no previous prototype for function 'ipu_psys_kcmd_free' [-Wmissing-prototypes]
   void ipu_psys_kcmd_free(struct ipu_psys_kcmd *kcmd)
        ^
   drivers/media/pci/intel/ipu6/ipu6-psys.c:187:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void ipu_psys_kcmd_free(struct ipu_psys_kcmd *kcmd)
   ^
   static 
   1 warning generated.
--
>> drivers/media/pci/intel/ipu6/ipu6-fw-resources.c:434:5: warning: no previous prototype for function 'ipu6_fw_psys_set_process_cell_id' [-Wmissing-prototypes]
   int ipu6_fw_psys_set_process_cell_id(struct ipu_fw_psys_process *ptr, u8 index,
       ^
   drivers/media/pci/intel/ipu6/ipu6-fw-resources.c:434:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int ipu6_fw_psys_set_process_cell_id(struct ipu_fw_psys_process *ptr, u8 index,
   ^
   static 
   1 warning generated.

vim +/ipu_buttress_clk_sensor_ops +1117 drivers/media/pci/intel/ipu6/../ipu-buttress.c

  1116	
> 1117	static const struct clk_ops ipu_buttress_clk_sensor_ops = {
  1118		.enable = ipu_buttress_clk_enable,
  1119		.disable = ipu_buttress_clk_disable,
  1120	};
  1121	
> 1122	static const struct clk_ops ipu_buttress_clk_sensor_ops_parent = {
  1123		.enable = ipu_buttress_clk_pll_enable,
  1124		.disable = ipu_buttress_clk_pll_disable,
  1125		.prepare = ipu_buttress_clk_pll_prepare,
  1126		.unprepare = ipu_buttress_clk_pll_unprepare,
  1127		.round_rate = ipu_buttress_clk_round_rate,
  1128		.recalc_rate = ipu_buttress_clk_recalc_rate,
  1129		.set_rate = ipu_buttress_clk_set_rate,
  1130	};
  1131	

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

                 reply	other threads:[~2020-11-26  8:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202011261616.MSc3JGPI-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.