All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nava kishore Manne <nava.manne@xilinx.com>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>,
	Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Subject: [xilinx-xlnx:master 269/326] include/linux/firmware/xlnx-zynqmp.h:1244:5: warning: no previous prototype for 'zynqmp_pm_get_meta_header'
Date: Thu, 13 Jan 2022 06:38:50 +0800	[thread overview]
Message-ID: <202201130615.SDjeIfek-lkp@intel.com> (raw)

tree:   https://github.com/Xilinx/linux-xlnx master
head:   6a698dbaaf0e6caa053476c2f661b36885a0ce30
commit: 22272cc48b5399af99792722fa7004735b769e0a [269/326] firmware: xilinx: Add support to get the image meta-header info
config: arc-randconfig-r043-20220112 (https://download.01.org/0day-ci/archive/20220113/202201130615.SDjeIfek-lkp@intel.com/config)
compiler: arceb-elf-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://github.com/Xilinx/linux-xlnx/commit/22272cc48b5399af99792722fa7004735b769e0a
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx master
        git checkout 22272cc48b5399af99792722fa7004735b769e0a
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/spi/

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

   In file included from drivers/spi/spi-zynqmp-gqspi.c:13:
>> include/linux/firmware/xlnx-zynqmp.h:1244:5: warning: no previous prototype for 'zynqmp_pm_get_meta_header' [-Wmissing-prototypes]
    1244 | int zynqmp_pm_get_meta_header(const u64 src, const u64 dst,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/mtd/spi-nor.h:10,
                    from drivers/spi/spi-zynqmp-gqspi.c:26:
   include/linux/mtd/cfi.h:62:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
      62 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
         |  ^~~~~~~
   In file included from drivers/spi/spi-zynqmp-gqspi.c:13:
   include/linux/firmware/xlnx-zynqmp.h:1217:12: warning: 'zynqmp_pm_sec_mask_write_reg' defined but not used [-Wunused-function]
    1217 | static int zynqmp_pm_sec_mask_write_reg(const u32 node_id, const u32 offset,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/firmware/xlnx-zynqmp.h:1212:12: warning: 'zynqmp_pm_sec_read_reg' defined but not used [-Wunused-function]
    1212 | static int zynqmp_pm_sec_read_reg(u32 node_id, u32 offset, u32 *ret_value)
         |            ^~~~~~~~~~~~~~~~~~~~~~


vim +/zynqmp_pm_get_meta_header +1244 include/linux/firmware/xlnx-zynqmp.h

  1243	
> 1244	int zynqmp_pm_get_meta_header(const u64 src, const u64 dst,
  1245				      const u32 size, u32 *count)
  1246	{
  1247		return -ENODEV;
  1248	}
  1249	#endif
  1250	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [xilinx-xlnx:master 269/326] include/linux/firmware/xlnx-zynqmp.h:1244:5: warning: no previous prototype for 'zynqmp_pm_get_meta_header'
Date: Thu, 13 Jan 2022 06:38:50 +0800	[thread overview]
Message-ID: <202201130615.SDjeIfek-lkp@intel.com> (raw)

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   6a698dbaaf0e6caa053476c2f661b36885a0ce30
commit: 22272cc48b5399af99792722fa7004735b769e0a [269/326] firmware: xilinx: Add support to get the image meta-header info
config: arc-randconfig-r043-20220112 (https://download.01.org/0day-ci/archive/20220113/202201130615.SDjeIfek-lkp(a)intel.com/config)
compiler: arceb-elf-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://github.com/Xilinx/linux-xlnx/commit/22272cc48b5399af99792722fa7004735b769e0a
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx master
        git checkout 22272cc48b5399af99792722fa7004735b769e0a
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/spi/

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

   In file included from drivers/spi/spi-zynqmp-gqspi.c:13:
>> include/linux/firmware/xlnx-zynqmp.h:1244:5: warning: no previous prototype for 'zynqmp_pm_get_meta_header' [-Wmissing-prototypes]
    1244 | int zynqmp_pm_get_meta_header(const u64 src, const u64 dst,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/mtd/spi-nor.h:10,
                    from drivers/spi/spi-zynqmp-gqspi.c:26:
   include/linux/mtd/cfi.h:62:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
      62 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
         |  ^~~~~~~
   In file included from drivers/spi/spi-zynqmp-gqspi.c:13:
   include/linux/firmware/xlnx-zynqmp.h:1217:12: warning: 'zynqmp_pm_sec_mask_write_reg' defined but not used [-Wunused-function]
    1217 | static int zynqmp_pm_sec_mask_write_reg(const u32 node_id, const u32 offset,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/firmware/xlnx-zynqmp.h:1212:12: warning: 'zynqmp_pm_sec_read_reg' defined but not used [-Wunused-function]
    1212 | static int zynqmp_pm_sec_read_reg(u32 node_id, u32 offset, u32 *ret_value)
         |            ^~~~~~~~~~~~~~~~~~~~~~


vim +/zynqmp_pm_get_meta_header +1244 include/linux/firmware/xlnx-zynqmp.h

  1243	
> 1244	int zynqmp_pm_get_meta_header(const u64 src, const u64 dst,
  1245				      const u32 size, u32 *count)
  1246	{
  1247		return -ENODEV;
  1248	}
  1249	#endif
  1250	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

             reply	other threads:[~2022-01-12 22:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 22:38 kernel test robot [this message]
2022-01-12 22:38 ` [xilinx-xlnx:master 269/326] include/linux/firmware/xlnx-zynqmp.h:1244:5: warning: no previous prototype for 'zynqmp_pm_get_meta_header' kernel test robot

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=202201130615.SDjeIfek-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=monstr@monstr.eu \
    --cc=nava.manne@xilinx.com \
    --cc=radhey.shyam.pandey@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 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.