public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nava kishore Manne <nava.manne@xilinx.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>,
	Kalyani Akula <kalyani.akula@xilinx.com>
Subject: [xilinx-xlnx:xlnx_rebase_v5.15_LTS 443/1181] drivers/crypto/xilinx/zynqmp-rsa.c:157:34: warning: unused variable 'zynqmp_rsa_dt_ids'
Date: Fri, 17 Jun 2022 17:50:54 +0800	[thread overview]
Message-ID: <202206171706.Fh4kXeBj-lkp@intel.com> (raw)

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   59523b5c4aca0174f1f8cba2a07d3b3328b7c80e
commit: 79538c8ad4c8d1aef902abd2e948f8bea21475b0 [443/1181] crypto: zynqmp-rsa: Adopted RSA support for ZynqMP SoC
config: hexagon-randconfig-r022-20220617 (https://download.01.org/0day-ci/archive/20220617/202206171706.Fh4kXeBj-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d764aa7fc6b9cc3fbe960019018f5f9e941eb0a6)
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/Xilinx/linux-xlnx/commit/79538c8ad4c8d1aef902abd2e948f8bea21475b0
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
        git checkout 79538c8ad4c8d1aef902abd2e948f8bea21475b0
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/crypto/xilinx/zynqmp-rsa.c:20:
   include/linux/firmware/xlnx-zynqmp.h:1168:12: warning: unused function 'zynqmp_pm_sec_read_reg' [-Wunused-function]
   static int zynqmp_pm_sec_read_reg(u32 node_id, u32 offset, u32 *ret_value)
              ^
   include/linux/firmware/xlnx-zynqmp.h:1173:12: warning: unused function 'zynqmp_pm_sec_mask_write_reg' [-Wunused-function]
   static int zynqmp_pm_sec_mask_write_reg(const u32 node_id, const u32 offset,
              ^
   include/linux/firmware/xlnx-zynqmp.h:1222:12: warning: unused function 'zynqmp_pm_fpga_get_version' [-Wunused-function]
   static int zynqmp_pm_fpga_get_version(u32 *value)
              ^
   include/linux/firmware/xlnx-zynqmp.h:1227:12: warning: unused function 'zynqmp_pm_fpga_get_feature_list' [-Wunused-function]
   static int zynqmp_pm_fpga_get_feature_list(u32 *value)
              ^
>> drivers/crypto/xilinx/zynqmp-rsa.c:157:34: warning: unused variable 'zynqmp_rsa_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id zynqmp_rsa_dt_ids[] = {
                                    ^
   5 warnings generated.


vim +/zynqmp_rsa_dt_ids +157 drivers/crypto/xilinx/zynqmp-rsa.c

   156	
 > 157	static const struct of_device_id zynqmp_rsa_dt_ids[] = {
   158		{ .compatible = "xlnx,zynqmp-rsa" },
   159		{ /* sentinel */ }
   160	};
   161	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-06-17  9:52 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=202206171706.Fh4kXeBj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kalyani.akula@xilinx.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=llvm@lists.linux.dev \
    --cc=monstr@monstr.eu \
    --cc=nava.manne@xilinx.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox