Hi Christian, [auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on v4.5-rc3 next-20160210] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Christian-Brauner/let-kernfs_name_locked-kernfs_name-return-size_t/20160211-002314 config: x86_64-randconfig-x012-201606 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> fs/kernfs/dir.c:83:8: error: conflicting types for 'kernfs_name' size_t kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) ^ In file included from fs/kernfs/kernfs-internal.h:19:0, from fs/kernfs/dir.c:19: include/linux/kernfs.h:268:5: note: previous declaration of 'kernfs_name' was here int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen); ^ vim +/kernfs_name +83 fs/kernfs/dir.c 77 * Copies the name of @kn into @buf of @buflen bytes. The behavior is 78 * similar to strlcpy(). It returns the length of @kn's name and if @buf 79 * isn't long enough, it's filled upto @buflen-1 and nul terminated. 80 * 81 * This function can be called from any context. 82 */ > 83 size_t kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) 84 { 85 unsigned long flags; 86 int ret; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data