[rust:pr/1161 77/195] drivers/net/ethernet/realtek/8139c.c:61: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://github.com/Rust-for-Linux/linux pr/1161
head:   9f5fa1ba161d636d346f72ba808ce20ee4a3fa70
commit: 9b38723f8040ce8db95558558c52dda3dc826ab8 [77/195] fix(hot): reset errors correctly handled
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20250429/202504292239.yphfXPc5-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250429/202504292239.yphfXPc5-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504292239.yphfXPc5-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/realtek/8139c.c:7: warning: expecting prototype for 8139c.c(). Prototype was for DRV_NAME() instead
>> drivers/net/ethernet/realtek/8139c.c:61: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Reset network card.


vim +61 drivers/net/ethernet/realtek/8139c.c

    59	
    60	/**
  > 61	 * Reset network card.
    62	 * @param drv_priv private driver's data
    63	 * @return zero if failed positive either
    64	 */
    65	static int rtl8139c_reset(struct rtl8139c_priv *drv_priv)
    66	{
    67		writeb(CmdReset, drv_priv->hwmem + ChipCmd);
    68		int i = 1000;
    69		while (--i) {
    70			if ((readb(drv_priv->hwmem + ChipCmd) & CmdReset) == 0) {
    71				break;
    72			}
    73			udelay(10);
    74		}
    75		return i;
    76	}
    77	

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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux