lkml.org 
[lkml]   [2021]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/edac/sifive_edac.c:23: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
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@intel.com>

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@sifive.com>
:::::: CC: Tony Luck <tony.luck@intel.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-13 19:07    [W:3.600 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site