diff mbox series

[14/14] staging: ccree: fix block comment style

Message ID 1498548449-10803-15-git-send-email-gilad@benyossef.com
State New
Headers show
Series staging: ccree: coding style fixes | expand

Commit Message

Gilad Ben-Yossef June 27, 2017, 7:27 a.m. UTC
Align block comments according to coding style.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>

---
 drivers/staging/ccree/cc_hw_queue_defs.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.1.4

Comments

Frans Klaver June 29, 2017, 2:38 p.m. UTC | #1
On Tue, Jun 27, 2017 at 9:27 AM, Gilad Ben-Yossef <gilad@benyossef.com> wrote:
> Align block comments according to coding style.

>

> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>

> ---

>  drivers/staging/ccree/cc_hw_queue_defs.h | 8 ++++----

>  1 file changed, 4 insertions(+), 4 deletions(-)

>

> diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h

> index f11487a..e6b8cea 100644

> --- a/drivers/staging/ccree/cc_hw_queue_defs.h

> +++ b/drivers/staging/ccree/cc_hw_queue_defs.h

> @@ -23,8 +23,8 @@

>  #include <linux/bitfield.h>

>

>  /******************************************************************************

> -*                              DEFINITIONS

> -******************************************************************************/

> + *                             DEFINITIONS

> + ******************************************************************************/


I think if you change to the preferred block comment format, you
should also drop these lines full of asterisks. I'm not sure why a
multi-line comment is warranted here, anyway.

Frans
diff mbox series

Patch

diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h
index f11487a..e6b8cea 100644
--- a/drivers/staging/ccree/cc_hw_queue_defs.h
+++ b/drivers/staging/ccree/cc_hw_queue_defs.h
@@ -23,8 +23,8 @@ 
 #include <linux/bitfield.h>
 
 /******************************************************************************
-*				DEFINITIONS
-******************************************************************************/
+ *				DEFINITIONS
+ ******************************************************************************/
 
 #define HW_DESC_SIZE_WORDS		6
 #define HW_QUEUE_SLOTS_MAX              15 /* Max. available slots in HW queue */
@@ -70,8 +70,8 @@ 
 #define WORD5_DOUT_ADDR_HIGH	CC_GENMASK(5, DOUT_ADDR_HIGH)
 
 /******************************************************************************
-*				TYPE DEFINITIONS
-******************************************************************************/
+ *				TYPE DEFINITIONS
+ ******************************************************************************/
 
 struct cc_hw_desc {
 	union {