drivers/platform/mellanox/mlxbf-pmc.c:82: 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]

 



Hi Aditya,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3d5895cd351757f69c9a66fb5fc8cf19f454d773
commit: f9bbc12ccb35ac8b3fa01cec1a19cb523a7707c7 scripts: kernel-doc: improve parsing for kernel-doc comments syntax
date:   3 months ago
config: arm64-randconfig-r015-20210722 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f9bbc12ccb35ac8b3fa01cec1a19cb523a7707c7
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f9bbc12ccb35ac8b3fa01cec1a19cb523a7707c7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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/platform/mellanox/mlxbf-pmc.c:82: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Structure to hold attribute and block info for each sysfs entry
   drivers/platform/mellanox/mlxbf-pmc.c:94: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Structure to hold info for each HW block
   drivers/platform/mellanox/mlxbf-pmc.c:121: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Structure to hold PMC context info
   drivers/platform/mellanox/mlxbf-pmc.c:148: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Structure to hold supported events for each block


vim +82 drivers/platform/mellanox/mlxbf-pmc.c

1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  80  
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  81  /**
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08 @82   * Structure to hold attribute and block info for each sysfs entry
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  83   * @dev_attr: Device attribute struct
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  84   * @index: index to identify counter number within a block
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  85   * @nr: block number to which the sysfs belongs
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  86   */
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  87  struct mlxbf_pmc_attribute {
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  88  	struct device_attribute dev_attr;
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  89  	int index;
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  90  	int nr;
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  91  };
1a218d312e65ec3 Shravan Kumar Ramani 2020-10-08  92  

:::::: The code at line 82 was first introduced by commit
:::::: 1a218d312e65ec396b2739056a8ea78493015f21 platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver

:::::: TO: Shravan Kumar Ramani <shravankr@xxxxxxxxxx>
:::::: CC: Hans de Goede <hdegoede@xxxxxxxxxx>

---
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