lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204090452.Pg7hes1b-lkp@intel.com>
Date:   Sat, 9 Apr 2022 04:50:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     popcornmix <popcornmix@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kari Suvanto <karis79@...il.com>,
        Noralf Trønnes <noralf@...nnes.org>,
        Phil Elwell <phil@...pberrypi.org>,
        Malik Olivier Boussejra <malik@...ssejra.com>,
        Paul Zimmerman <paulz@...opsys.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Lukas Wunner <lukas@...ner.de>,
        Nathan Chancellor <natechancellor@...il.com>,
        Dave Stevenson <dave.stevenson@...pberrypi.org>,
        Michael Zoran <mzoran@...wfest.net>,
        Marek Behún <marek.behun@....cz>,
        Jonathan Bell <jonathan@...pberrypi.org>,
        Hui Wang <hui.wang@...onical.com>,
        Zixuan Wang <wangzixuan@...u.edu.cn>
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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ