lkml.org 
[lkml]   [2016]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] let kernfs_name_locked & kernfs_name return size_t
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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-02-10 18:01    [W:0.547 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site