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]
Date:   Fri, 5 Nov 2021 23:13:48 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andreas Gruenbacher <agruenba@...hat.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        cluster-devel@...hat.com, linux-kernel@...r.kernel.org,
        Bob Peterson <rpeterso@...hat.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

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@...el.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@...hat.com>
:::::: CC: Steven Whitehouse <swhiteho@...hat.com>

---
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" (38316 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ