aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMarcelo Diop-Gonzalez <marcgonzalez@google.com>2019-11-20 15:20:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-22 11:32:54 +0100
commiteacb77aad729c1ec077de267065210f92efdece2 (patch)
tree5508268693647295ea8953b47cc7ad958f9adbbe /drivers/staging
parentstaging: octeon: indent with tabs instead of spaces (diff)
downloadlinux-dev-eacb77aad729c1ec077de267065210f92efdece2.tar.xz
linux-dev-eacb77aad729c1ec077de267065210f92efdece2.zip
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
index 319e7aa0e0e0..6328abcaeeeb 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
@@ -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';