diff mbox

[OPW,kernel] staging/dgnc/digi.h Fix do not use // c99 comments.

Message ID 1395098815-8335-1-git-send-email-aybuke.147@gmail.com
State New, archived
Headers show

Commit Message

Aybuke Ozdemir March 17, 2014, 11:26 p.m. UTC
This patch fixes "do not use // C99 comments" errors in digi.h

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
---
 drivers/staging/dgnc/digi.h |   36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

Comments

Greg Kroah-Hartman March 18, 2014, 7:20 p.m. UTC | #1
On Tue, Mar 18, 2014 at 01:26:55AM +0200, Aybuke Ozdemir wrote:
> This patch fixes "do not use // C99 comments" errors in digi.h
> 
> Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
> ---
>  drivers/staging/dgnc/digi.h |   36 ++++++++++++++++++------------------
>  1 file changed, 18 insertions(+), 18 deletions(-)
> 
> diff --git a/drivers/staging/dgnc/digi.h b/drivers/staging/dgnc/digi.h
> index 6a9adf6..8dbaef4 100644
> --- a/drivers/staging/dgnc/digi.h
> +++ b/drivers/staging/dgnc/digi.h
> @@ -394,23 +394,23 @@ struct digi_getcounter {
>  #define DIGI_REALPORT_GETCOUNTERS ('e'<<8 ) | 110
>  #define DIGI_REALPORT_GETEVENTS ('e'<<8 ) | 111
>  
> -#define EV_OPU		0x0001		//!<Output paused by client
> -#define EV_OPS		0x0002		//!<Output paused by reqular sw flowctrl
> -#define EV_OPX		0x0004		//!<Output paused by extra sw flowctrl
> -#define EV_OPH		0x0008		//!<Output paused by hw flowctrl
> -#define EV_OPT		0x0800		//!<Output paused for RTS Toggle predelay
> -
> -#define EV_IPU		0x0010		//!<Input paused unconditionally by user
> -#define EV_IPS		0x0020		//!<Input paused by high/low water marks
> -//#define EV_IPH	0x0040		//!<Input paused w/ hardware
> -#define EV_IPA		0x0400		//!<Input paused by pattern alarm module
> -
> -#define EV_TXB		0x0040		//!<Transmit break pending
> -#define EV_TXI		0x0080		//!<Transmit immediate pending
> -#define EV_TXF		0x0100		//!<Transmit flowctrl char pending
> -#define EV_RXB		0x0200		//!<Break received
> -
> -#define EV_OPALL	0x080f		//!<Output pause flags
> -#define EV_IPALL	0x0430		//!<Input pause flags
> +#define EV_OPU		0x0001		/* !<Output paused by client */
> +#define EV_OPS		0x0002		/* !<Output paused by reqular sw flowctrl */
> +#define EV_OPX		0x0004		/* !<Output paused by extra sw flowctrl */
> +#define EV_OPH		0x0008		/* !<Output paused by hw flowctrl */
> +#define EV_OPT		0x0800		/* !<Output paused for RTS Toggle predelay */
> +
> +#define EV_IPU		0x0010		/* !<Input paused unconditionally by user */
> +#define EV_IPS		0x0020		/* !<Input paused by high/low water marks */
> +/* #define EV_IPH */	0x0040		/* !<Input paused w/ hardware */
> +#define EV_IPA		0x0400		/* !<Input paused by pattern alarm module */
> +
> +#define EV_TXB		0x0040		/* !<Transmit break pending */
> +#define EV_TXI		0x0080		/* !<Transmit immediate pending */
> +#define EV_TXF		0x0100		/* !<Transmit flowctrl char pending */
> +#define EV_RXB		0x0200		/* !<Break received */
> +
> +#define EV_OPALL	0x080f		/* !<Output pause flags */
> +#define EV_IPALL	0x0430		/* !<Input pause flags */

You didn't test build this patch :(
diff mbox

Patch

diff --git a/drivers/staging/dgnc/digi.h b/drivers/staging/dgnc/digi.h
index 6a9adf6..8dbaef4 100644
--- a/drivers/staging/dgnc/digi.h
+++ b/drivers/staging/dgnc/digi.h
@@ -394,23 +394,23 @@  struct digi_getcounter {
 #define DIGI_REALPORT_GETCOUNTERS ('e'<<8 ) | 110
 #define DIGI_REALPORT_GETEVENTS ('e'<<8 ) | 111
 
-#define EV_OPU		0x0001		//!<Output paused by client
-#define EV_OPS		0x0002		//!<Output paused by reqular sw flowctrl
-#define EV_OPX		0x0004		//!<Output paused by extra sw flowctrl
-#define EV_OPH		0x0008		//!<Output paused by hw flowctrl
-#define EV_OPT		0x0800		//!<Output paused for RTS Toggle predelay
-
-#define EV_IPU		0x0010		//!<Input paused unconditionally by user
-#define EV_IPS		0x0020		//!<Input paused by high/low water marks
-//#define EV_IPH	0x0040		//!<Input paused w/ hardware
-#define EV_IPA		0x0400		//!<Input paused by pattern alarm module
-
-#define EV_TXB		0x0040		//!<Transmit break pending
-#define EV_TXI		0x0080		//!<Transmit immediate pending
-#define EV_TXF		0x0100		//!<Transmit flowctrl char pending
-#define EV_RXB		0x0200		//!<Break received
-
-#define EV_OPALL	0x080f		//!<Output pause flags
-#define EV_IPALL	0x0430		//!<Input pause flags
+#define EV_OPU		0x0001		/* !<Output paused by client */
+#define EV_OPS		0x0002		/* !<Output paused by reqular sw flowctrl */
+#define EV_OPX		0x0004		/* !<Output paused by extra sw flowctrl */
+#define EV_OPH		0x0008		/* !<Output paused by hw flowctrl */
+#define EV_OPT		0x0800		/* !<Output paused for RTS Toggle predelay */
+
+#define EV_IPU		0x0010		/* !<Input paused unconditionally by user */
+#define EV_IPS		0x0020		/* !<Input paused by high/low water marks */
+/* #define EV_IPH */	0x0040		/* !<Input paused w/ hardware */
+#define EV_IPA		0x0400		/* !<Input paused by pattern alarm module */
+
+#define EV_TXB		0x0040		/* !<Transmit break pending */
+#define EV_TXI		0x0080		/* !<Transmit immediate pending */
+#define EV_TXF		0x0100		/* !<Transmit flowctrl char pending */
+#define EV_RXB		0x0200		/* !<Break received */
+
+#define EV_OPALL	0x080f		/* !<Output pause flags */
+#define EV_IPALL	0x0430		/* !<Input pause flags */
 
 #endif /* DIGI_H */