From: kernel test robot <lkp@intel.com>
To: Michal Simek <monstr@monstr.eu>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-arm-kernel@lists.infradead.org,
Piyush Mehta <piyush.mehta@xilinx.com>,
Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Subject: [xlnx:xlnx_rebase_v5.4 903/1762] include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for function 'dwc3_host_wakeup_capable'
Date: Wed, 16 Jun 2021 05:28:50 +0800 [thread overview]
Message-ID: <202106160542.u6w6hCXn-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]
Hi Michal,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: d128303e4c53bcf7775c46771bf64c71596f3303
commit: 6d0468b837bc2b3cce625f59904d137e63637b5d [903/1762] usb: dwc3: Add support for clock disabling during suspend
config: x86_64-randconfig-a012-20210615 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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
# https://github.com/Xilinx/linux-xlnx/commit/6d0468b837bc2b3cce625f59904d137e63637b5d
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 6d0468b837bc2b3cce625f59904d137e63637b5d
# 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 >>):
In file included from drivers/usb/host/xhci-plat.c:23:
>> include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for function 'dwc3_host_wakeup_capable' [-Wmissing-prototypes]
void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
^
include/linux/usb/xhci_pdriver.h:22:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
^
static
1 warning generated.
vim +/dwc3_host_wakeup_capable +22 include/linux/usb/xhci_pdriver.h
20
21 #else
> 22 void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
23 { ; }
24 #endif
25
---
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: 30441 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
reply other threads:[~2021-06-15 22:58 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=202106160542.u6w6hCXn-lkp@intel.com \
--to=lkp@intel.com \
--cc=anurag.kumar.vulisha@xilinx.com \
--cc=clang-built-linux@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).