Re: [PATCH 3/3] fs: befs: Increment i_count when inode is found

From: kbuild test robot
Date: Sat Jun 04 2016 - 15:15:12 EST


Hi,

[auto build test ERROR on v4.7-rc1]
[also build test ERROR on next-20160603]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Salah-Triki/fs-befs-Lookup-must-return-error-code-only-on-real-error/20160605-025608
config: x86_64-randconfig-x013-201623 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

fs/befs/linuxvfs.c: In function 'befs_lookup':
>> fs/befs/linuxvfs.c:201:16: error: wrong type argument to increment
inode->i_count++;
^~

vim +201 fs/befs/linuxvfs.c

195 inode = befs_iget(dir->i_sb, (ino_t) offset);
196 if (IS_ERR(inode))
197 return ERR_CAST(inode);
198
199 d_add(dentry, inode);
200
> 201 inode->i_count++;
202
203 befs_debug(sb, "<--- %s", __func__);
204

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

Attachment: .config.gz
Description: Binary data