lkml.org 
[lkml]   [2022]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[l1k:smsc95xx_5.17 56/887] drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c:423:13: warning: no previous prototype for 'fiq_irq_handler'
tree:   https://github.com/l1k/linux smsc95xx_5.17
head: 05d68ced287b30f62f18f95b5476135ef669804a
commit: a8197852bb8f1f6804cff9442d426888e97aaed3 [56/887] Add dwc_otg driver
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220409/202204090452.Pg7hes1b-lkp@intel.com/config)
compiler: aarch64-linux-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/l1k/linux/commit/a8197852bb8f1f6804cff9442d426888e97aaed3
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout a8197852bb8f1f6804cff9442d426888e97aaed3
# 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=arm64 SHELL=/bin/bash drivers/usb/host/dwc_otg/

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

>> drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c:423:13: warning: no previous prototype for 'fiq_irq_handler' [-Wmissing-prototypes]
423 | irqreturn_t fiq_irq_handler(int irq, void *dev_id)
| ^~~~~~~~~~~~~~~
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c:552:5: warning: no previous prototype for 'hcd_init' [-Wmissing-prototypes]
552 | int hcd_init(dwc_bus_dev_t *_dev)
| ^~~~~~~~
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c:662:6: warning: no previous prototype for 'hcd_remove' [-Wmissing-prototypes]
662 | void hcd_remove(dwc_bus_dev_t *_dev)
| ^~~~~~~~~~


vim +/fiq_irq_handler +423 drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c

422
> 423 irqreturn_t fiq_irq_handler(int irq, void *dev_id)
424 {
425 dwc_otg_hcd_t *dwc_otg_hcd = (dwc_otg_hcd_t *)dev_id;
426
427 if (fiq_fsm_enable)
428 dwc_otg_fiq_fsm(dwc_otg_hcd->fiq_state, dwc_otg_hcd->core_if->core_params->host_channels);
429 else
430 dwc_otg_fiq_nop(dwc_otg_hcd->fiq_state);
431
432 return IRQ_HANDLED;
433 }
434

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

\
 
 \ /
  Last update: 2022-04-08 22:52    [W:0.030 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site