drivers/edac/sifive_edac.c:23: 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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: a18b14d8886614b3c7d290c4cfc33389822b0535 riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled
date:   3 months ago
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a18b14d8886614b3c7d290c4cfc33389822b0535
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a18b14d8886614b3c7d290c4cfc33389822b0535
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/edac/sifive_edac.c:23: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * EDAC error callback


vim +23 drivers/edac/sifive_edac.c

91abaeaaff35d97 Yash Shah 2019-05-06  21  
91abaeaaff35d97 Yash Shah 2019-05-06  22  /**
91abaeaaff35d97 Yash Shah 2019-05-06 @23   * EDAC error callback
91abaeaaff35d97 Yash Shah 2019-05-06  24   *
91abaeaaff35d97 Yash Shah 2019-05-06  25   * @event: non-zero if unrecoverable.
91abaeaaff35d97 Yash Shah 2019-05-06  26   */
91abaeaaff35d97 Yash Shah 2019-05-06  27  static
91abaeaaff35d97 Yash Shah 2019-05-06  28  int ecc_err_event(struct notifier_block *this, unsigned long event, void *ptr)
91abaeaaff35d97 Yash Shah 2019-05-06  29  {
91abaeaaff35d97 Yash Shah 2019-05-06  30  	const char *msg = (char *)ptr;
91abaeaaff35d97 Yash Shah 2019-05-06  31  	struct sifive_edac_priv *p;
91abaeaaff35d97 Yash Shah 2019-05-06  32  
91abaeaaff35d97 Yash Shah 2019-05-06  33  	p = container_of(this, struct sifive_edac_priv, notifier);
91abaeaaff35d97 Yash Shah 2019-05-06  34  
91abaeaaff35d97 Yash Shah 2019-05-06  35  	if (event == SIFIVE_L2_ERR_TYPE_UE)
91abaeaaff35d97 Yash Shah 2019-05-06  36  		edac_device_handle_ue(p->dci, 0, 0, msg);
91abaeaaff35d97 Yash Shah 2019-05-06  37  	else if (event == SIFIVE_L2_ERR_TYPE_CE)
91abaeaaff35d97 Yash Shah 2019-05-06  38  		edac_device_handle_ce(p->dci, 0, 0, msg);
91abaeaaff35d97 Yash Shah 2019-05-06  39  
91abaeaaff35d97 Yash Shah 2019-05-06  40  	return NOTIFY_OK;
91abaeaaff35d97 Yash Shah 2019-05-06  41  }
91abaeaaff35d97 Yash Shah 2019-05-06  42  

:::::: The code at line 23 was first introduced by commit
:::::: 91abaeaaff35d97e88d2249f69f19db749a19a68 EDAC/sifive: Add EDAC platform driver for SiFive SoCs

:::::: TO: Yash Shah <yash.shah@xxxxxxxxxx>
:::::: CC: Tony Luck <tony.luck@xxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[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