lkml.org 
[lkml]   [2021]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-05 16:21    [W:0.039 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site