Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
On Wed, Feb 10, 2016 at 08:53:14AM -0800, Greg KH wrote: > On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > > They return the length of kn->parent or kn->name and should be aligned with > > kernfs_path_len which also returns size_t. > > > > Signed-off-by: Christian Brauner >

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Greg KH
On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > They return the length of kn->parent or kn->name and should be aligned with > kernfs_path_len which also returns size_t. > > Signed-off-by: Christian Brauner > --- > fs/kernfs/dir.c | 4 ++-- > 1 file changed, 2 insertions(+),

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread kbuild test robot
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:

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Tejun Heo
On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > They return the length of kn->parent or kn->name and should be aligned with > kernfs_path_len which also returns size_t. > > Signed-off-by: Christian Brauner Acked-by: Tejun Heo Thanks. -- tejun

[PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
Simple patch that changes the return value of kernfs_name_locked and kernfs_name to size_t which alignes these functions with kernfs_path_len which also returns size_t. Patch was made against for-4.5 branch. (As per Tejun's request, ccing gre...@linuxfoundation.org and

[PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
They return the length of kn->parent or kn->name and should be aligned with kernfs_path_len which also returns size_t. Signed-off-by: Christian Brauner --- fs/kernfs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c index

[PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
They return the length of kn->parent or kn->name and should be aligned with kernfs_path_len which also returns size_t. Signed-off-by: Christian Brauner --- fs/kernfs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/kernfs/dir.c

[PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
Simple patch that changes the return value of kernfs_name_locked and kernfs_name to size_t which alignes these functions with kernfs_path_len which also returns size_t. Patch was made against for-4.5 branch. (As per Tejun's request, ccing gre...@linuxfoundation.org and

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Tejun Heo
On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > They return the length of kn->parent or kn->name and should be aligned with > kernfs_path_len which also returns size_t. > > Signed-off-by: Christian Brauner Acked-by: Tejun Heo

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Greg KH
On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > They return the length of kn->parent or kn->name and should be aligned with > kernfs_path_len which also returns size_t. > > Signed-off-by: Christian Brauner > --- > fs/kernfs/dir.c | 4 ++-- > 1

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread kbuild test robot
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:

Re: [PATCH] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
On Wed, Feb 10, 2016 at 08:53:14AM -0800, Greg KH wrote: > On Wed, Feb 10, 2016 at 05:18:59PM +0100, Christian Brauner wrote: > > They return the length of kn->parent or kn->name and should be aligned with > > kernfs_path_len which also returns size_t. > > > > Signed-off-by: Christian Brauner