[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201601031134.EpdxyOqh%fengguang.wu@intel.com>
Date: Sun, 3 Jan 2016 11:01:35 +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>,
Andreas Dilger <adilger@...ger.ca>, Jan Kara <jack@...e.cz>
Subject: [ext4:dev 16/17] fs/ext4/ioctl.c:399:26: error: implicit declaration
of function 'dqget'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
head: 6ac40c7b5597646ec4335f77ab79cac9663f4a1e
commit: 92a86644738b2df2eba26acadd4b35a2e2e2bcbc [16/17] ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support
config: x86_64-randconfig-x015-201601 (attached as .config)
reproduce:
git checkout 92a86644738b2df2eba26acadd4b35a2e2e2bcbc
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
fs/ext4/ioctl.c: In function 'ext4_ioctl_setproject':
>> fs/ext4/ioctl.c:399:26: error: implicit declaration of function 'dqget' [-Werror=implicit-function-declaration]
transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid));
^
>> fs/ext4/ioctl.c:399:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid));
^
>> fs/ext4/ioctl.c:401:9: error: implicit declaration of function '__dquot_transfer' [-Werror=implicit-function-declaration]
err = __dquot_transfer(inode, transfer_to);
^
>> fs/ext4/ioctl.c:402:3: error: implicit declaration of function 'dqput' [-Werror=implicit-function-declaration]
dqput(transfer_to[PRJQUOTA]);
^
cc1: some warnings being treated as errors
vim +/dqget +399 fs/ext4/ioctl.c
393 }
394
395 err = ext4_reserve_inode_write(handle, inode, &iloc);
396 if (err)
397 goto out_stop;
398
> 399 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid));
400 if (transfer_to[PRJQUOTA]) {
> 401 err = __dquot_transfer(inode, transfer_to);
> 402 dqput(transfer_to[PRJQUOTA]);
403 if (err)
404 goto out_dirty;
405 }
---
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