projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
827c1f5
)
[media] staging: st-cec: add parentheses around complex macros
author
Maninder Singh
<
[email protected]
>
Fri, 4 Nov 2016 07:58:31 +0000
(
05:58
-0200)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Wed, 16 Nov 2016 17:23:10 +0000
(15:23 -0200)
This patch fixes the following checkpatch.pl error:
ERROR: Macros with complex values should be enclosed in parentheses
Signed-off-by: Maninder Singh <
[email protected]
>
Acked-by: Benjamin Gaignard <
[email protected]
>
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/staging/media/st-cec/stih-cec.c
patch
|
blob
|
history
diff --git
a/drivers/staging/media/st-cec/stih-cec.c
b/drivers/staging/media/st-cec/stih-cec.c
index 1f1542e8154f82ff4840bb837631d40e23b57522..eed1fd6bbefa72516f602244aae86e852404f0f7 100644
(file)
--- a/
drivers/staging/media/st-cec/stih-cec.c
+++ b/
drivers/staging/media/st-cec/stih-cec.c
@@
-107,11
+107,11
@@
/* Constants for CEC_BIT_TOUT_THRESH register */
#define CEC_SBIT_TOUT_47MS BIT(1)
-#define CEC_SBIT_TOUT_48MS
BIT(0) | BIT(1
)
+#define CEC_SBIT_TOUT_48MS
(BIT(0) | BIT(1)
)
#define CEC_SBIT_TOUT_50MS BIT(2)
#define CEC_DBIT_TOUT_27MS BIT(0)
#define CEC_DBIT_TOUT_28MS BIT(1)
-#define CEC_DBIT_TOUT_29MS
BIT(0) | BIT(1
)
+#define CEC_DBIT_TOUT_29MS
(BIT(0) | BIT(1)
)
/* Constants for CEC_BIT_PULSE_THRESH register */
#define CEC_BIT_LPULSE_03MS BIT(1)