Skip to contentSkip to conversation

Staging: comedi: Fixed coding style issue in comedilib.h

PATCH In review Punit Vara 2 participants 2 messages Sep 18, 2015 Staging

lore
Share & tools
lore

Punit Vara

author
#0 lore raw

PATCH 1/1 Staging: comedi: Fixed coding style issue in comedilib.h

This patch is to the comedilib.h file that fixes up coding style issues and following warning:

- Block comments use * on subsequent lines

---
 drivers/staging/comedi/comedilib.h | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
drivers/staging/comedi/comedilib.h +14 -14
index 56baf85..45da22b 100644
@@ -1,20 +1,20 @@
-/*
-    linux/include/comedilib.h
-    header file for kcomedilib
+/**
+ * linux/include/comedilib.h
+ * header file for kcomedilib
 
-    COMEDI - Linux Control and Measurement Device Interface
-    Copyright (C) 1998-2001 David A. Schleef <[email protected]>
+ * COMEDI - Linux Control and Measurement Device Interface
+ * Copyright (C) 1998-2001 David A. Schleef <[email protected]>
 
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
 
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-*/
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
 
 #ifndef _LINUX_COMEDILIB_H
 #define _LINUX_COMEDILIB_H
Signature · 1 line
2.5.2
#1 lore raw
Quoted 15 lines · Punit Vara

This patch is to the comedilib.h file that fixes up coding style issues and following warning:

- Block comments use * on subsequent lines

---
  drivers/staging/comedi/comedilib.h | 28 ++++++++++++++--------------
  1 file changed, 14 insertions(+), 14 deletions(-)
drivers/staging/comedi/comedilib.h +0 -0
index 56baf85..45da22b 100644

drivers/staging/comedi/comedilib.h line 1

Quoted 4 lines
drivers/staging/comedi/comedilib.h +1 -3
@@ -1,20 +1,20 @@
-/*
-    linux/include/comedilib.h
-    header file for kcomedilib
+/**

Please use '/*' not '/**' here.

Quoted 17 lines
drivers/staging/comedi/comedilib.h +8 -6
+ * linux/include/comedilib.h
+ * header file for kcomedilib
 
-    COMEDI - Linux Control and Measurement Device Interface
-    Copyright (C) 1998-2001 David A. Schleef <[email protected]>
+ * COMEDI - Linux Control and Measurement Device Interface
+ * Copyright (C) 1998-2001 David A. Schleef <[email protected]>
 
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
 

drivers/staging/comedi/comedilib.h line 17

Quoted 10 lines
drivers/staging/comedi/comedilib.h +5 -5
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-*/
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */

Blank lines in the block comment should be ' *'.

Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]> )=-
-=(                          Web: http://www.mev.co.uk/  )=-