All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Piyush Mehta <piyush.mehta@xilinx.com>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>,
	Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Subject: [xlnx:xlnx_rebase_v5.4 906/1700] drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks'
Date: Wed, 3 Mar 2021 06:52:37 +0800	[thread overview]
Message-ID: <202103030633.SAfV2vsy-lkp@intel.com> (raw)

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

Hi Piyush,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   49bdb4e70d2001f3a5bf0bf5e990cca4a85210f4
commit: 782658c51bbcd85a39a5d9a51b57224f185d7670 [906/1700] usb: dwc3: Correct errors when dwc3 loaded as module
config: c6x-randconfig-r006-20210303 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.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/782658c51bbcd85a39a5d9a51b57224f185d7670
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 782658c51bbcd85a39a5d9a51b57224f185d7670
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x 

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/usb/dwc3/core.c:36:
   drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
    1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
    1431 | void dwc3_set_simple_data(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
    1433 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/usb/dwc3/host.c:12:
   include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for 'dwc3_host_wakeup_capable' [-Wmissing-prototypes]
      22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/usb/dwc3/host.c:14:
   drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
    1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
    1431 | void dwc3_set_simple_data(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
    1433 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/host.c:16:6: error: redefinition of 'dwc3_host_wakeup_capable'
      16 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/usb/dwc3/host.c:12:
   include/linux/usb/xhci_pdriver.h:22:6: note: previous definition of 'dwc3_host_wakeup_capable' was here
      22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/dwc3_simple_check_quirks +1433 drivers/usb/dwc3/core.h

  1420	
  1421	#if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
  1422	int dwc3_enable_hw_coherency(struct device *dev);
  1423	void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
  1424	void dwc3_set_simple_data(struct dwc3 *dwc);
  1425	void dwc3_simple_check_quirks(struct dwc3 *dwc);
  1426	#else
  1427	static inline int dwc3_enable_hw_coherency(struct device *dev)
  1428	{ return 1; }
  1429	void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
  1430	{ ; }
  1431	void dwc3_set_simple_data(struct dwc3 *dwc)
  1432	{ ; }
> 1433	void dwc3_simple_check_quirks(struct dwc3 *dwc)
  1434	{ ; }
  1435	#endif
  1436	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [xlnx:xlnx_rebase_v5.4 906/1700] drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks'
Date: Wed, 03 Mar 2021 06:52:37 +0800	[thread overview]
Message-ID: <202103030633.SAfV2vsy-lkp@intel.com> (raw)

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

Hi Piyush,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   49bdb4e70d2001f3a5bf0bf5e990cca4a85210f4
commit: 782658c51bbcd85a39a5d9a51b57224f185d7670 [906/1700] usb: dwc3: Correct errors when dwc3 loaded as module
config: c6x-randconfig-r006-20210303 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.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/782658c51bbcd85a39a5d9a51b57224f185d7670
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 782658c51bbcd85a39a5d9a51b57224f185d7670
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x 

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/usb/dwc3/core.c:36:
   drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
    1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
    1431 | void dwc3_set_simple_data(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
    1433 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/usb/dwc3/host.c:12:
   include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for 'dwc3_host_wakeup_capable' [-Wmissing-prototypes]
      22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/usb/dwc3/host.c:14:
   drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
    1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
    1431 | void dwc3_set_simple_data(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
    1433 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/host.c:16:6: error: redefinition of 'dwc3_host_wakeup_capable'
      16 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/usb/dwc3/host.c:12:
   include/linux/usb/xhci_pdriver.h:22:6: note: previous definition of 'dwc3_host_wakeup_capable' was here
      22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/dwc3_simple_check_quirks +1433 drivers/usb/dwc3/core.h

  1420	
  1421	#if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
  1422	int dwc3_enable_hw_coherency(struct device *dev);
  1423	void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
  1424	void dwc3_set_simple_data(struct dwc3 *dwc);
  1425	void dwc3_simple_check_quirks(struct dwc3 *dwc);
  1426	#else
  1427	static inline int dwc3_enable_hw_coherency(struct device *dev)
  1428	{ return 1; }
  1429	void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
  1430	{ ; }
  1431	void dwc3_set_simple_data(struct dwc3 *dwc)
  1432	{ ; }
> 1433	void dwc3_simple_check_quirks(struct dwc3 *dwc)
  1434	{ ; }
  1435	#endif
  1436	

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

             reply	other threads:[~2021-03-03 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-02 22:52 kernel test robot [this message]
2021-03-02 22:52 ` [xlnx:xlnx_rebase_v5.4 906/1700] drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' 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=202103030633.SAfV2vsy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anurag.kumar.vulisha@xilinx.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=monstr@monstr.eu \
    --cc=piyush.mehta@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.