linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2021-11-05 15:13 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-05 15:13 UTC (permalink / raw)
  To: Andreas Gruenbacher
  Cc: llvm, kbuild-all, cluster-devel, linux-kernel, Bob Peterson

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
@ 2021-11-08  8:22 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-08  8:22 UTC (permalink / raw)
  To: Andreas Gruenbacher; +Cc: kbuild-all, cluster-devel, linux-kernel, Bob Peterson

[-- Attachment #1: Type: text/plain, Size: 3617 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: powerpc-ppc6xx_defconfig (attached as .config)
compiler: powerpc-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/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=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc 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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-08  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 15:13 [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
2021-11-08  8:22 kernel test robot

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