Re: [PATCH] Btrfs: fix printing of non NULL terminated string

2013-08-29 Thread Wang Shilong
On 08/21/2013 12:51 AM, Filipe David Borba Manana wrote: please use checkpatch.pl to check coding styles before sending patch ERROR: code indent should use tabs where possible #37: FILE: fs/btrfs/delayed-inode.c:1477: +^I^Iname_len, name,$ total: 1 errors, 0 warnings, 13 lines

[PATCH] Btrfs: fix printing of non NULL terminated string

2013-08-20 Thread Filipe David Borba Manana
The name buffer is not terminated by a '\0' character, therefore it needs to be printed with %.*s and use the length of the buffer. Signed-off-by: Filipe David Borba Manana fdman...@gmail.com --- fs/btrfs/delayed-inode.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git