LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Aditya Srivastava <yashsri421@gmail.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
	linux-doc@vger.kernel.org
Subject: 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: Thu, 22 Jul 2021 16:46:06 +0800	[thread overview]
Message-ID: <202107221601.OI3Ebmjl-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3698 bytes --]

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@intel.com>

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@nvidia.com>
:::::: CC: Hans de Goede <hdegoede@redhat.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 43558 bytes --]

                 reply	other threads:[~2021-07-22  8:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107221601.OI3Ebmjl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=corbet@lwn.net \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yashsri421@gmail.com \
    --subject='Re: 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' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).