public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andreas Gruenbacher <agruenba@redhat.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	cluster-devel@redhat.com, linux-kernel@vger.kernel.org,
	Bob Peterson <rpeterso@redhat.com>
Subject: [gfs2:for-next.bob 7/22] fs/gfs2/glock.c:1126: warning: expecting prototype for gfs2_holder_init(). Prototype was for __gfs2_holder_init() instead
Date: Fri, 5 Nov 2021 23:13:48 +0800	[thread overview]
Message-ID: <202111052342.FR8bGXbE-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.bob
head:   6426349fc59b3177c61749b128938a0fa15fff9a
commit: 154a359509fe805e93f283935c5327d8f9986723 [7/22] gfs2: Save ip from gfs2_glock_nq_init
config: x86_64-randconfig-a005-20211004 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 58b68e70ebf6308f982426a2618782f473218eed)
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/gfs2/linux-gfs2.git/commit/?id=154a359509fe805e93f283935c5327d8f9986723
        git remote add gfs2 https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
        git fetch --no-tags gfs2 for-next.bob
        git checkout 154a359509fe805e93f283935c5327d8f9986723
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/gfs2/

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

   fs/gfs2/glock.c:1126: warning: Function parameter or member 'ip' not described in '__gfs2_holder_init'
>> fs/gfs2/glock.c:1126: warning: expecting prototype for gfs2_holder_init(). Prototype was for __gfs2_holder_init() instead


vim +1126 fs/gfs2/glock.c

b3b94faa5fe5968 David Teigland      2006-01-16  1114  
b3b94faa5fe5968 David Teigland      2006-01-16  1115  /**
b3b94faa5fe5968 David Teigland      2006-01-16  1116   * gfs2_holder_init - initialize a struct gfs2_holder in the default way
b3b94faa5fe5968 David Teigland      2006-01-16  1117   * @gl: the glock
b3b94faa5fe5968 David Teigland      2006-01-16  1118   * @state: the state we're requesting
b3b94faa5fe5968 David Teigland      2006-01-16  1119   * @flags: the modifier flags
b3b94faa5fe5968 David Teigland      2006-01-16  1120   * @gh: the holder structure
b3b94faa5fe5968 David Teigland      2006-01-16  1121   *
b3b94faa5fe5968 David Teigland      2006-01-16  1122   */
b3b94faa5fe5968 David Teigland      2006-01-16  1123  
154a359509fe805 Andreas Gruenbacher 2021-09-30  1124  void __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags,
154a359509fe805 Andreas Gruenbacher 2021-09-30  1125  			struct gfs2_holder *gh, unsigned long ip)
b3b94faa5fe5968 David Teigland      2006-01-16 @1126  {
b3b94faa5fe5968 David Teigland      2006-01-16  1127  	INIT_LIST_HEAD(&gh->gh_list);
b3b94faa5fe5968 David Teigland      2006-01-16  1128  	gh->gh_gl = gl;
154a359509fe805 Andreas Gruenbacher 2021-09-30  1129  	gh->gh_ip = ip;
b1e058da50f7938 Pavel Emelyanov     2008-02-07  1130  	gh->gh_owner_pid = get_pid(task_pid(current));
b3b94faa5fe5968 David Teigland      2006-01-16  1131  	gh->gh_state = state;
b3b94faa5fe5968 David Teigland      2006-01-16  1132  	gh->gh_flags = flags;
b3b94faa5fe5968 David Teigland      2006-01-16  1133  	gh->gh_error = 0;
b3b94faa5fe5968 David Teigland      2006-01-16  1134  	gh->gh_iflags = 0;
b3b94faa5fe5968 David Teigland      2006-01-16  1135  	gfs2_glock_hold(gl);
b3b94faa5fe5968 David Teigland      2006-01-16  1136  }
b3b94faa5fe5968 David Teigland      2006-01-16  1137  

:::::: The code at line 1126 was first introduced by commit
:::::: b3b94faa5fe5968827ba0640ee9fba4b3e7f736e [GFS2] The core of GFS2

:::::: TO: David Teigland <teigland@redhat.com>
:::::: CC: Steven Whitehouse <swhiteho@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: 38316 bytes --]

             reply	other threads:[~2021-11-05 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05 15:13 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-08  8:22 [gfs2:for-next.bob 7/22] fs/gfs2/glock.c:1126: warning: expecting prototype for gfs2_holder_init(). Prototype was for __gfs2_holder_init() instead 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=202111052342.FR8bGXbE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=agruenba@redhat.com \
    --cc=cluster-devel@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=rpeterso@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox