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]
Message-ID: <201601031011.TBC40yNQ%fengguang.wu@intel.com>
Date:	Sun, 3 Jan 2016 10:57:13 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Li Xi <pkuelelixi@...il.com>
Cc:	kbuild-all@...org, linux-ext4@...r.kernel.org,
	Theodore Ts'o <tytso@....edu>,
	Dmitry Monakhov <dmonakhov@...nvz.org>,
	Andreas Dilger <adilger@...ger.ca>, Jan Kara <jack@...e.cz>
Subject: [ext4:dev 15/17] fs/ext4/super.c:4839:10: error: implicit
 declaration of function 'dqget'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
head:   6ac40c7b5597646ec4335f77ab79cac9663f4a1e
commit: ff77c62ef3316c4dc8ddf7117c9d581f542194a0 [15/17] ext4: add project quota support
config: x86_64-randconfig-x015-201601 (attached as .config)
reproduce:
        git checkout ff77c62ef3316c4dc8ddf7117c9d581f542194a0
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   fs/ext4/super.c: In function 'ext4_statfs_project':
>> fs/ext4/super.c:4839:10: error: implicit declaration of function 'dqget' [-Werror=implicit-function-declaration]
     dquot = dqget(sb, qid);
             ^
>> fs/ext4/super.c:4839:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dquot = dqget(sb, qid);
           ^
>> fs/ext4/super.c:4866:2: error: implicit declaration of function 'dqput' [-Werror=implicit-function-declaration]
     dqput(dquot);
     ^
   cc1: some warnings being treated as errors

vim +/dqget +4839 fs/ext4/super.c

  4833		struct kqid qid;
  4834		struct dquot *dquot;
  4835		u64 limit;
  4836		u64 curblock;
  4837	
  4838		qid = make_kqid_projid(projid);
> 4839		dquot = dqget(sb, qid);
  4840		if (!dquot)
  4841			return -ESRCH;
  4842		spin_lock(&dq_data_lock);
  4843	
  4844		limit = (dquot->dq_dqb.dqb_bsoftlimit ?
  4845			 dquot->dq_dqb.dqb_bsoftlimit :
  4846			 dquot->dq_dqb.dqb_bhardlimit) >> sb->s_blocksize_bits;
  4847		if (limit && buf->f_blocks > limit) {
  4848			curblock = dquot->dq_dqb.dqb_curspace >> sb->s_blocksize_bits;
  4849			buf->f_blocks = limit;
  4850			buf->f_bfree = buf->f_bavail =
  4851				(buf->f_blocks > curblock) ?
  4852				 (buf->f_blocks - curblock) : 0;
  4853		}
  4854	
  4855		limit = dquot->dq_dqb.dqb_isoftlimit ?
  4856			dquot->dq_dqb.dqb_isoftlimit :
  4857			dquot->dq_dqb.dqb_ihardlimit;
  4858		if (limit && buf->f_files > limit) {
  4859			buf->f_files = limit;
  4860			buf->f_ffree =
  4861				(buf->f_files > dquot->dq_dqb.dqb_curinodes) ?
  4862				 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0;
  4863		}
  4864	
  4865		spin_unlock(&dq_data_lock);
> 4866		dqput(dquot);
  4867		return 0;
  4868	}
  4869	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (21536 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ