linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yuri Nudelman <ynudelman@habana.ai>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Oded Gabbay <ogabbay@kernel.org>
Subject: [ogabbay:next 12/13] drivers/misc/habanalabs/common/state_dump.c:495: warning: expecting prototype for hl_state_dump_print_monitors_single_block(). Prototype was for hl_state_dump_free_monitors() instead
Date: Sun, 4 Jul 2021 23:30:41 +0800	[thread overview]
Message-ID: <202107042333.eAsH7M1h-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git next
head:   e07c3e2148e472868aa22cffb5e4b0b2c7b73be8
commit: 01afa09c63748e54b25449a1173c5098290f97fc [12/13] habanalabs: state dump monitors and fences infrastructure
config: x86_64-randconfig-a006-20210704 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 89c1c64cc3170a05a881bb9954feafc3edca6704)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git/commit/?id=01afa09c63748e54b25449a1173c5098290f97fc
        git remote add ogabbay https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git
        git fetch --no-tags ogabbay next
        git checkout 01afa09c63748e54b25449a1173c5098290f97fc
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/misc/

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/misc/habanalabs/common/state_dump.c:13: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * A helper function, format an integer as binary using supplied scratch buffer,
>> drivers/misc/habanalabs/common/state_dump.c:495: warning: expecting prototype for hl_state_dump_print_monitors_single_block(). Prototype was for hl_state_dump_free_monitors() instead


vim +495 drivers/misc/habanalabs/common/state_dump.c

   488	
   489	/**
   490	 * hl_state_dump_print_monitors_single_block - print active monitors
   491	 * @monitors: monitors array created with
   492	 *            hl_state_dump_alloc_read_sm_block_monitors
   493	 */
   494	static void hl_state_dump_free_monitors(struct hl_mon_state_dump *monitors)
 > 495	{
   496		vfree(monitors);
   497	}
   498	

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

                 reply	other threads:[~2021-07-04 15:31 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=202107042333.eAsH7M1h-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ogabbay@kernel.org \
    --cc=ynudelman@habana.ai \
    --subject='Re: [ogabbay:next 12/13] drivers/misc/habanalabs/common/state_dump.c:495: warning: expecting prototype for hl_state_dump_print_monitors_single_block(). Prototype was for hl_state_dump_free_monitors() instead' \
    /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).