Skip to content

Commit

Permalink
Staging: Greybus: Fix trailing */ in block comments
Browse files Browse the repository at this point in the history
This patch fixes the following checkpath.pl warning
WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Rahul Krishnan  <mrahul.krishnan@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Rahul Krishnan authored and Greg Kroah-Hartman committed Oct 24, 2016
1 parent 7fec2bc commit 73270bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/staging/greybus/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73270bb

Please sign in to comment.