* [intel-linux-intel-lts:4.19/android_r 18600/24638] drivers/usb/host/xhci-dbgcap.c:191:6: warning: no previous prototype for function 'xhci_dbc_flush_requests'
@ 2021-09-07 1:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-07 1:48 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3499 bytes --]
tree: https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: 9f2d2ee2b02288b762796b8d0d95a1d6bf805cab
commit: b88d999a5b9ae9022e12e1a5810b12b21cb77996 [18600/24638] usb: xhci: dbc: make DbC modular, introducing dbc_function structure
config: x86_64-randconfig-a015-20210906 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739)
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/intel/linux-intel-lts/commit/b88d999a5b9ae9022e12e1a5810b12b21cb77996
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.19/android_r
git checkout b88d999a5b9ae9022e12e1a5810b12b21cb77996
# 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-dbgcap.c:9:
In file included from include/linux/dma-mapping.h:7:
In file included from include/linux/device.h:16:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:14:
In file included from include/linux/idr.h:15:
In file included from include/linux/radix-tree.h:27:
In file included from include/linux/preempt.h:81:
In file included from arch/x86/include/asm/preempt.h:7:
In file included from include/linux/thread_info.h:38:
In file included from arch/x86/include/asm/thread_info.h:53:
arch/x86/include/asm/cpufeature.h:164:2: error: implicit declaration of function 'asm_volatile_goto' [-Werror,-Wimplicit-function-declaration]
asm_volatile_goto("1: jmp 6f\n"
^
arch/x86/include/asm/cpufeature.h:195:4: error: expected ')'
: : [feature] "i" (bit),
^
arch/x86/include/asm/cpufeature.h:164:19: note: to match this '('
asm_volatile_goto("1: jmp 6f\n"
^
>> drivers/usb/host/xhci-dbgcap.c:191:6: warning: no previous prototype for function 'xhci_dbc_flush_requests' [-Wmissing-prototypes]
void xhci_dbc_flush_requests(struct xhci_dbc *dbc)
^
drivers/usb/host/xhci-dbgcap.c:191:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void xhci_dbc_flush_requests(struct xhci_dbc *dbc)
^
static
>> drivers/usb/host/xhci-dbgcap.c:794:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^
2 warnings and 2 errors generated.
vim +/xhci_dbc_flush_requests +191 drivers/usb/host/xhci-dbgcap.c
189
190
> 191 void xhci_dbc_flush_requests(struct xhci_dbc *dbc)
192 {
193 xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_OUT]);
194 xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_IN]);
195 }
196 EXPORT_SYMBOL_GPL(xhci_dbc_flush_requests);
197
---
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: 25415 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-07 1:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 1:48 [intel-linux-intel-lts:4.19/android_r 18600/24638] drivers/usb/host/xhci-dbgcap.c:191:6: warning: no previous prototype for function 'xhci_dbc_flush_requests' kernel test robot
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.