2016-10-21 15:29:44

by Rahul Krishnan

[permalink] [raw]
Subject: [PATCH]: Staging: Greybus: Fix trailing */ in block comments

This patch fixes the following checkpath.pl warning
WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Rahul Krishnan <[email protected]>
---
drivers/staging/greybus/log.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/log.c b/drivers/staging/greybus/log.c
index 70dd9e5..1a18ab1 100644
--- a/drivers/staging/greybus/log.c
+++ b/drivers/staging/greybus/log.c
@@ -55,8 +55,10 @@ static int gb_log_request_handler(struct gb_operation *op)
/* Ensure the buffer is 0 terminated */
receive->msg[len - 1] = '\0';

- /* Print with dev_dbg() so that it can be easily turned off using
- * dynamic debugging (and prevent any DoS) */
+ /*
+ * Print with dev_dbg() so that it can be easily turned off using
+ * dynamic debugging (and prevent any DoS)
+ */
dev_dbg(dev, "%s", receive->msg);

return 0;
--
1.9.1


2016-10-24 03:15:12

by Viresh Kumar

[permalink] [raw]
Subject: Re: [PATCH]: Staging: Greybus: Fix trailing */ in block comments

On Fri, Oct 21, 2016 at 8:59 PM, Rahul Krishnan
<[email protected]> wrote:
> This patch fixes the following checkpath.pl warning
> WARNING: Block comments use a trailing */ on a separate line
>
> Signed-off-by: Rahul Krishnan <[email protected]>
> ---
> drivers/staging/greybus/log.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)

Acked-by: Viresh Kumar <[email protected]>