All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: vt6655: power.c: Fix checkpatch warning
@ 2016-08-08 21:35 Anson Jacob
  2016-08-08 21:52 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Anson Jacob @ 2016-08-08 21:35 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Forest Bond, Kernel List, Staging List

Fix checkpatch.pl warning for trailing */ on a separate line
Remove '+' postfix and '-' prefix from the start and end of block comments

Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
---
 drivers/staging/vt6655/power.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c
index bc8ca98..7d6e746 100644
--- a/drivers/staging/vt6655/power.c
+++ b/drivers/staging/vt6655/power.c
@@ -52,7 +52,7 @@
 
 /*---------------------  Export Functions  --------------------------*/
 
-/*+
+/*
  *
  * Routine Description:
  * Enable hw power saving functions
@@ -60,7 +60,7 @@
  * Return Value:
  *    None.
  *
- -*/
+ */
 
 void
 PSvEnablePowerSaving(
@@ -104,7 +104,7 @@ PSvEnablePowerSaving(
 	pr_debug("PS:Power Saving Mode Enable...\n");
 }
 
-/*+
+/*
  *
  * Routine Description:
  * Disable hw power saving functions
@@ -112,7 +112,7 @@ PSvEnablePowerSaving(
  * Return Value:
  *    None.
  *
- -*/
+ */
 
 void
 PSvDisablePowerSaving(
@@ -134,7 +134,7 @@ PSvDisablePowerSaving(
 }
 
 
-/*+
+/*
  *
  * Routine Description:
  * Check if Next TBTT must wake up
@@ -142,7 +142,7 @@ PSvDisablePowerSaving(
  * Return Value:
  *    None.
  *
- -*/
+ */
 
 bool
 PSbIsNextTBTTWakeUp(
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: vt6655: power.c: Fix checkpatch warning
  2016-08-08 21:35 [PATCH] staging: vt6655: power.c: Fix checkpatch warning Anson Jacob
@ 2016-08-08 21:52 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2016-08-08 21:52 UTC (permalink / raw)
  To: Anson Jacob, Greg Kroah-Hartman; +Cc: Forest Bond, Kernel List, Staging List

On Mon, 2016-08-08 at 17:35 -0400, Anson Jacob wrote:
> Fix checkpatch.pl warning for trailing */ on a separate line
> Remove '+' postfix and '-' prefix from the start and end of block comments

Those /*+ uses should probably be converted to /** for kernel-doc

> Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
> ---
>  drivers/staging/vt6655/power.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c
> index bc8ca98..7d6e746 100644
> --- a/drivers/staging/vt6655/power.c
> +++ b/drivers/staging/vt6655/power.c
> @@ -52,7 +52,7 @@
>  
>  /*---------------------  Export Functions  --------------------------*/
>  
> -/*+
> +/*
>   *
>   * Routine Description:
>   * Enable hw power saving functions
> @@ -60,7 +60,7 @@
>   * Return Value:
>   *    None.
>   *
> - -*/
> + */
>  
>  void
>  PSvEnablePowerSaving(
> @@ -104,7 +104,7 @@ PSvEnablePowerSaving(
>  	pr_debug("PS:Power Saving Mode Enable...\n");
>  }
>  
> -/*+
> +/*
>   *
>   * Routine Description:
>   * Disable hw power saving functions
> @@ -112,7 +112,7 @@ PSvEnablePowerSaving(
>   * Return Value:
>   *    None.
>   *
> - -*/
> + */
>  
>  void
>  PSvDisablePowerSaving(
> @@ -134,7 +134,7 @@ PSvDisablePowerSaving(
>  }
>  
>  
> -/*+
> +/*
>   *
>   * Routine Description:
>   * Check if Next TBTT must wake up
> @@ -142,7 +142,7 @@ PSvDisablePowerSaving(
>   * Return Value:
>   *    None.
>   *
> - -*/
> + */
>  
>  bool
>  PSbIsNextTBTTWakeUp(

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-08 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-08 21:35 [PATCH] staging: vt6655: power.c: Fix checkpatch warning Anson Jacob
2016-08-08 21:52 ` Joe Perches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.