All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Aditya Srivastava <yashsri421@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Jonathan Corbet <corbet@lwn.net>,
	linux-doc@vger.kernel.org
Subject: arch/openrisc/mm/ioremap.c:108: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Date: Mon, 27 Sep 2021 23:04:55 +0800	[thread overview]
Message-ID: <202109272350.ksTna0mH-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf scripts: kernel-doc: add warning for comment not following kernel-doc syntax
date:   6 months ago
config: openrisc-buildonly-randconfig-r006-20210927 (attached as .config)
compiler: or1k-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=3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc 

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

>> arch/openrisc/mm/ioremap.c:108: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * OK, this one's a bit tricky... ioremap can get called before memory is
--
   certs/system_keyring.c:41: warning: Function parameter or member 'dest_keyring' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: Function parameter or member 'type' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: Function parameter or member 'payload' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: Function parameter or member 'restriction_key' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: expecting prototype for restrict_link_to_builtin_trusted(). Prototype was for restrict_link_by_builtin_trusted() instead
   certs/system_keyring.c:60: warning: Function parameter or member 'dest_keyring' not described in 'restrict_link_by_builtin_and_secondary_trusted'
   certs/system_keyring.c:60: warning: Function parameter or member 'type' not described in 'restrict_link_by_builtin_and_secondary_trusted'
   certs/system_keyring.c:60: warning: Function parameter or member 'payload' not described in 'restrict_link_by_builtin_and_secondary_trusted'
   certs/system_keyring.c:60: warning: Function parameter or member 'restrict_key' not described in 'restrict_link_by_builtin_and_secondary_trusted'
>> certs/system_keyring.c:75: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Allocate a struct key_restriction for the "builtin and secondary trust"
--
>> drivers/gpio/gpio-max730x.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Copyright (C) 2006 Juergen Beisert, Pengutronix
--
>> drivers/regulator/act8945a-regulator.c:19: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * ACT8945A Global Register Map.
   drivers/regulator/act8945a-regulator.c:50: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Field Definitions.
   drivers/regulator/act8945a-regulator.c:58: warning: expecting prototype for ACT8945A Voltage Number(). Prototype was for ACT8945A_VOLTAGE_NUM() instead
--
   drivers/rtc/rtc-tps80031.c:45: warning: expecting prototype for Setting bit to 1 in STOP_RTC will run the RTC and(). Prototype was for STOP_RTC() instead
>> drivers/rtc/rtc-tps80031.c:57: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * PMU RTC have only 2 nibbles to store year information, so using an
--
>> drivers/thermal/rockchip_thermal.c:64: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * The max sensors is two in rockchip SoCs.
   drivers/thermal/rockchip_thermal.c:179: warning: expecting prototype for TSADC Sensor Register description(). Prototype was for TSADCV2_USER_CON() instead
   drivers/thermal/rockchip_thermal.c:1221: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Reset TSADC Controller, reset all tsadc registers.
--
   lib/cpumask.c:114: warning: Function parameter or member 'node' not described in 'alloc_cpumask_var_node'
>> lib/cpumask.c:239: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Returns an arbitrary cpu within srcp1 & srcp2.
--
>> drivers/video/backlight/ili922x.c:85: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * START_BYTE(id, rs, rw)
   drivers/video/backlight/ili922x.c:104: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * CHECK_FREQ_REG(spi_device s, spi_transfer x) - Check the frequency
--
>> drivers/w1/slaves/w1_ds28e04.c:57: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Check the file size bounds and adjusts count as needed.
   drivers/w1/slaves/w1_ds28e04.c:149: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Writes to the scratchpad and reads it back for verification.


vim +108 arch/openrisc/mm/ioremap.c

61e85e367535a7 Jonas Bonn 2011-06-04  106  
61e85e367535a7 Jonas Bonn 2011-06-04  107  /**
61e85e367535a7 Jonas Bonn 2011-06-04 @108   * OK, this one's a bit tricky... ioremap can get called before memory is
61e85e367535a7 Jonas Bonn 2011-06-04  109   * initialized (early serial console does this) and will want to alloc a page
61e85e367535a7 Jonas Bonn 2011-06-04  110   * for its mapping.  No userspace pages will ever get allocated before memory
61e85e367535a7 Jonas Bonn 2011-06-04  111   * is initialized so this applies only to kernel pages.  In the event that
61e85e367535a7 Jonas Bonn 2011-06-04  112   * this is called before memory is initialized we allocate the page using
61e85e367535a7 Jonas Bonn 2011-06-04  113   * the memblock infrastructure.
61e85e367535a7 Jonas Bonn 2011-06-04  114   */
61e85e367535a7 Jonas Bonn 2011-06-04  115  

:::::: The code at line 108 was first introduced by commit
:::::: 61e85e367535a7b6385b404bef93928768140f96 OpenRISC: Memory management

:::::: TO: Jonas Bonn <jonas@southpole.se>
:::::: CC: Jonas Bonn <jonas@southpole.se>

---
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: 34202 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/openrisc/mm/ioremap.c:108: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Date: Mon, 27 Sep 2021 23:04:55 +0800	[thread overview]
Message-ID: <202109272350.ksTna0mH-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf scripts: kernel-doc: add warning for comment not following kernel-doc syntax
date:   6 months ago
config: openrisc-buildonly-randconfig-r006-20210927 (attached as .config)
compiler: or1k-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=3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc 

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

>> arch/openrisc/mm/ioremap.c:108: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * OK, this one's a bit tricky... ioremap can get called before memory is
--
   certs/system_keyring.c:41: warning: Function parameter or member 'dest_keyring' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: Function parameter or member 'type' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: Function parameter or member 'payload' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: Function parameter or member 'restriction_key' not described in 'restrict_link_by_builtin_trusted'
   certs/system_keyring.c:41: warning: expecting prototype for restrict_link_to_builtin_trusted(). Prototype was for restrict_link_by_builtin_trusted() instead
   certs/system_keyring.c:60: warning: Function parameter or member 'dest_keyring' not described in 'restrict_link_by_builtin_and_secondary_trusted'
   certs/system_keyring.c:60: warning: Function parameter or member 'type' not described in 'restrict_link_by_builtin_and_secondary_trusted'
   certs/system_keyring.c:60: warning: Function parameter or member 'payload' not described in 'restrict_link_by_builtin_and_secondary_trusted'
   certs/system_keyring.c:60: warning: Function parameter or member 'restrict_key' not described in 'restrict_link_by_builtin_and_secondary_trusted'
>> certs/system_keyring.c:75: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Allocate a struct key_restriction for the "builtin and secondary trust"
--
>> drivers/gpio/gpio-max730x.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Copyright (C) 2006 Juergen Beisert, Pengutronix
--
>> drivers/regulator/act8945a-regulator.c:19: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * ACT8945A Global Register Map.
   drivers/regulator/act8945a-regulator.c:50: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Field Definitions.
   drivers/regulator/act8945a-regulator.c:58: warning: expecting prototype for ACT8945A Voltage Number(). Prototype was for ACT8945A_VOLTAGE_NUM() instead
--
   drivers/rtc/rtc-tps80031.c:45: warning: expecting prototype for Setting bit to 1 in STOP_RTC will run the RTC and(). Prototype was for STOP_RTC() instead
>> drivers/rtc/rtc-tps80031.c:57: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * PMU RTC have only 2 nibbles to store year information, so using an
--
>> drivers/thermal/rockchip_thermal.c:64: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * The max sensors is two in rockchip SoCs.
   drivers/thermal/rockchip_thermal.c:179: warning: expecting prototype for TSADC Sensor Register description(). Prototype was for TSADCV2_USER_CON() instead
   drivers/thermal/rockchip_thermal.c:1221: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Reset TSADC Controller, reset all tsadc registers.
--
   lib/cpumask.c:114: warning: Function parameter or member 'node' not described in 'alloc_cpumask_var_node'
>> lib/cpumask.c:239: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Returns an arbitrary cpu within srcp1 & srcp2.
--
>> drivers/video/backlight/ili922x.c:85: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * START_BYTE(id, rs, rw)
   drivers/video/backlight/ili922x.c:104: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * CHECK_FREQ_REG(spi_device s, spi_transfer x) - Check the frequency
--
>> drivers/w1/slaves/w1_ds28e04.c:57: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Check the file size bounds and adjusts count as needed.
   drivers/w1/slaves/w1_ds28e04.c:149: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Writes to the scratchpad and reads it back for verification.


vim +108 arch/openrisc/mm/ioremap.c

61e85e367535a7 Jonas Bonn 2011-06-04  106  
61e85e367535a7 Jonas Bonn 2011-06-04  107  /**
61e85e367535a7 Jonas Bonn 2011-06-04 @108   * OK, this one's a bit tricky... ioremap can get called before memory is
61e85e367535a7 Jonas Bonn 2011-06-04  109   * initialized (early serial console does this) and will want to alloc a page
61e85e367535a7 Jonas Bonn 2011-06-04  110   * for its mapping.  No userspace pages will ever get allocated before memory
61e85e367535a7 Jonas Bonn 2011-06-04  111   * is initialized so this applies only to kernel pages.  In the event that
61e85e367535a7 Jonas Bonn 2011-06-04  112   * this is called before memory is initialized we allocate the page using
61e85e367535a7 Jonas Bonn 2011-06-04  113   * the memblock infrastructure.
61e85e367535a7 Jonas Bonn 2011-06-04  114   */
61e85e367535a7 Jonas Bonn 2011-06-04  115  

:::::: The code at line 108 was first introduced by commit
:::::: 61e85e367535a7b6385b404bef93928768140f96 OpenRISC: Memory management

:::::: TO: Jonas Bonn <jonas@southpole.se>
:::::: CC: Jonas Bonn <jonas@southpole.se>

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

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

             reply	other threads:[~2021-09-27 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 15:04 kernel test robot [this message]
2021-09-27 15:04 ` arch/openrisc/mm/ioremap.c:108: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst kernel test robot

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=202109272350.ksTna0mH-lkp@intel.com \
    --to=lkp@intel.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 \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.