lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109272350.ksTna0mH-lkp@intel.com>
Date:   Mon, 27 Sep 2021 23:04:55 +0800
From:   kernel test robot <lkp@...el.com>
To:     Aditya Srivastava <yashsri421@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jonathan Corbet <corbet@....net>, linux-doc@...r.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

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@...el.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@...thpole.se>
:::::: CC: Jonas Bonn <jonas@...thpole.se>

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

Download attachment ".config.gz" of type "application/gzip" (34202 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ