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]
Date:   Tue, 22 Nov 2022 17:47:54 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mauro Carvalho Chehab <mchehab@...nel.org>
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
        Jonathan Corbet <corbet@....net>
Subject: arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c:377: warning:
 expecting prototype for mpc52xx_lpbfifo_bcom_poll(). Prototype was for
 mpc52xx_lpbfifo_poll() instead

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   eb7081409f94a9a8608593d0fb63a1aa3d6f95d8
commit: 52042e2db45290f6a512d525518488b7bf143531 scripts: kernel-doc: validate kernel-doc markup with the actual names
date:   1 year, 10 months ago
config: powerpc-randconfig-r024-20221122
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project af8c49dc1ec44339d915d988ffe0f38da68ca0e7)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=52042e2db45290f6a512d525518488b7bf143531
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 52042e2db45290f6a512d525518488b7bf143531
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/platforms/52xx/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c:63: warning: Function parameter or member 'req' not described in 'mpc52xx_lpbfifo_kick'
   arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c:220: warning: Function parameter or member 'irq' not described in 'mpc52xx_lpbfifo_irq'
   arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c:220: warning: Function parameter or member 'dev_id' not described in 'mpc52xx_lpbfifo_irq'
   arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c:326: warning: Function parameter or member 'irq' not described in 'mpc52xx_lpbfifo_bcom_irq'
   arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c:326: warning: Function parameter or member 'dev_id' not described in 'mpc52xx_lpbfifo_bcom_irq'
>> arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c:377: warning: expecting prototype for mpc52xx_lpbfifo_bcom_poll(). Prototype was for mpc52xx_lpbfifo_poll() instead


vim +377 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c

3c9059d79f5eea John Bonesio 2009-09-29  372  
3c9059d79f5eea John Bonesio 2009-09-29  373  /**
3c9059d79f5eea John Bonesio 2009-09-29  374   * mpc52xx_lpbfifo_bcom_poll - Poll for DMA completion
3c9059d79f5eea John Bonesio 2009-09-29  375   */
3c9059d79f5eea John Bonesio 2009-09-29  376  void mpc52xx_lpbfifo_poll(void)
3c9059d79f5eea John Bonesio 2009-09-29 @377  {
3c9059d79f5eea John Bonesio 2009-09-29  378  	struct mpc52xx_lpbfifo_request *req = lpbfifo.req;
3c9059d79f5eea John Bonesio 2009-09-29  379  	int dma = !(req->flags & MPC52XX_LPBFIFO_FLAG_NO_DMA);
3c9059d79f5eea John Bonesio 2009-09-29  380  	int write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE;
3c9059d79f5eea John Bonesio 2009-09-29  381  
3c9059d79f5eea John Bonesio 2009-09-29  382  	/*
3c9059d79f5eea John Bonesio 2009-09-29  383  	 * For more information, see comments on the "Fat Lady" 
3c9059d79f5eea John Bonesio 2009-09-29  384  	 */
3c9059d79f5eea John Bonesio 2009-09-29  385  	if (dma && write)
3c9059d79f5eea John Bonesio 2009-09-29  386  		mpc52xx_lpbfifo_irq(0, NULL);
3c9059d79f5eea John Bonesio 2009-09-29  387  	else 
3c9059d79f5eea John Bonesio 2009-09-29  388  		mpc52xx_lpbfifo_bcom_irq(0, NULL);
3c9059d79f5eea John Bonesio 2009-09-29  389  }
3c9059d79f5eea John Bonesio 2009-09-29  390  EXPORT_SYMBOL(mpc52xx_lpbfifo_poll);
3c9059d79f5eea John Bonesio 2009-09-29  391  

:::::: The code at line 377 was first introduced by commit
:::::: 3c9059d79f5eea6b8b75ddac97693127c3c41db4 powerpc/5200: add LocalPlus bus FIFO device driver

:::::: TO: John Bonesio <bones@...retlab.ca>
:::::: CC: Grant Likely <grant.likely@...retlab.ca>

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

View attachment "config" of type "text/plain" (150005 bytes)

Powered by blists - more mailing lists