staging: vchiq: Fix block comment format in vchiq_dump()

This fixes a checkpatch warning.

Signed-off-by: Marcelo Diop-Gonzalez <marcgonzalez@google.com>
Link: https://lore.kernel.org/r/20191120202102.249121-2-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Marcelo Diop-Gonzalez 2019-11-20 15:20:59 -05:00 committed by Greg Kroah-Hartman
parent 282eaa624f
commit eacb77aad7
1 changed files with 5 additions and 3 deletions

View File

@ -2098,9 +2098,11 @@ vchiq_dump(void *dump_context, const char *str, int len)
context->actual += copy_bytes;
len -= copy_bytes;
/* If tne terminating NUL is included in the length, then it
** marks the end of a line and should be replaced with a
** carriage return. */
/*
* If the terminating NUL is included in the length, then it
* marks the end of a line and should be replaced with a
* carriage return.
*/
if ((len == 0) && (str[copy_bytes - 1] == '\0')) {
char cr = '\n';