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: <202412172203.6IUAS30l-lkp@intel.com>
Date: Tue, 17 Dec 2024 19:52:05 +0800
From: kernel test robot <lkp@...el.com>
To: Serge Semin <fancer.lancer@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Subject: drivers/tty/mips_ejtag_fdc.c:685: warning: Excess function parameter
 'opaque' description in 'mips_ejtag_fdc_tty_timer'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f44d154d6e3d633d4c49a5d6aed8a0e4684ae25e
commit: 188942f05ce45f80c06f7242ad7478bd204c3387 tty: mips_ejtag_fdc: Fix passing incompatible pointer type warning
date:   10 months ago
config: mips-randconfig-r071-20241215 (https://download.01.org/0day-ci/archive/20241217/202412172203.6IUAS30l-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 2dc22615fd46ab2566d0f26d5ba234ab12dc4bf8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241217/202412172203.6IUAS30l-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412172203.6IUAS30l-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/tty/mips_ejtag_fdc.c:685: warning: Function parameter or struct member 't' not described in 'mips_ejtag_fdc_tty_timer'
>> drivers/tty/mips_ejtag_fdc.c:685: warning: Excess function parameter 'opaque' description in 'mips_ejtag_fdc_tty_timer'


vim +685 drivers/tty/mips_ejtag_fdc.c

4cebec609aea6d James Hogan     2015-01-29  673  
4cebec609aea6d James Hogan     2015-01-29  674  /**
4cebec609aea6d James Hogan     2015-01-29  675   * mips_ejtag_fdc_tty_timer() - Poll FDC for incoming data.
4cebec609aea6d James Hogan     2015-01-29  676   * @opaque:	Pointer to driver private data.
4cebec609aea6d James Hogan     2015-01-29  677   *
4cebec609aea6d James Hogan     2015-01-29  678   * This is the timer handler for when interrupts are disabled and polling the
4cebec609aea6d James Hogan     2015-01-29  679   * FDC state is required.
4cebec609aea6d James Hogan     2015-01-29  680   *
4cebec609aea6d James Hogan     2015-01-29  681   * It simply triggers the common FDC handler code and arranges for further
4cebec609aea6d James Hogan     2015-01-29  682   * polling.
4cebec609aea6d James Hogan     2015-01-29  683   */
75d1760f4cd1b2 Kees Cook       2017-10-16  684  static void mips_ejtag_fdc_tty_timer(struct timer_list *t)
4cebec609aea6d James Hogan     2015-01-29 @685  {
75d1760f4cd1b2 Kees Cook       2017-10-16  686  	struct mips_ejtag_fdc_tty *priv = from_timer(priv, t, poll_timer);
4cebec609aea6d James Hogan     2015-01-29  687  
4cebec609aea6d James Hogan     2015-01-29  688  	mips_ejtag_fdc_handle(priv);
4cebec609aea6d James Hogan     2015-01-29  689  	if (!priv->removing)
853f90d49bbabc Thomas Gleixner 2016-07-04  690  		mod_timer(&priv->poll_timer, jiffies + FDC_TTY_POLL);
4cebec609aea6d James Hogan     2015-01-29  691  }
4cebec609aea6d James Hogan     2015-01-29  692  

:::::: The code at line 685 was first introduced by commit
:::::: 4cebec609aea6dff23e67a42b6516d852fa87d07 TTY: Add MIPS EJTAG Fast Debug Channel TTY driver

:::::: TO: James Hogan <james.hogan@...tec.com>
:::::: CC: Ralf Baechle <ralf@...ux-mips.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ