Re: [PATCH 19/29] ubifs: Implement encrypt/decrypt for all IO

From: kbuild test robot
Date: Sun Nov 13 2016 - 18:03:47 EST


Hi Richard,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc5 next-20161111]
[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/Richard-Weinberger/UBIFS-File-Encryption-v1/20161114-053532
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

fs/ubifs/super.c: In function 'ubifs_fill_super':
>> fs/ubifs/super.c:2055:15: error: 'ubifs_crypt_operations' undeclared (first use in this function)
sb->s_cop = &ubifs_crypt_operations;
^~~~~~~~~~~~~~~~~~~~~~
fs/ubifs/super.c:2055:15: note: each undeclared identifier is reported only once for each function it appears in

vim +/ubifs_crypt_operations +2055 fs/ubifs/super.c

1e51764a Artem Bityutskiy 2008-07-14 2049 sb->s_blocksize_bits = UBIFS_BLOCK_SHIFT;
1e51764a Artem Bityutskiy 2008-07-14 2050 sb->s_maxbytes = c->max_inode_sz = key_max_inode_size(c);
1e51764a Artem Bityutskiy 2008-07-14 2051 if (c->max_inode_sz > MAX_LFS_FILESIZE)
1e51764a Artem Bityutskiy 2008-07-14 2052 sb->s_maxbytes = c->max_inode_sz = MAX_LFS_FILESIZE;
1e51764a Artem Bityutskiy 2008-07-14 2053 sb->s_op = &ubifs_super_operations;
2b88fc21 Andreas Gruenbacher 2016-04-22 2054 sb->s_xattr = ubifs_xattr_handlers;
032abd06 Richard Weinberger 2016-11-13 @2055 sb->s_cop = &ubifs_crypt_operations;
1e51764a Artem Bityutskiy 2008-07-14 2056
1e51764a Artem Bityutskiy 2008-07-14 2057 mutex_lock(&c->umount_mutex);
1e51764a Artem Bityutskiy 2008-07-14 2058 err = mount_ubifs(c);

:::::: The code at line 2055 was first introduced by commit
:::::: 032abd069c8a588c7647adfeb573ad1a6cd3821d ubifs: Add skeleton for fscrypto

:::::: TO: Richard Weinberger <richard@xxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip