: staging: vc04_services: fix checkpatch error
Subsystems (2)
PATCH 1/1 : staging: vc04_services: fix checkpatch error
A non-text attachment was scrubbed...
Name: 0001-staging-vc04_services-add-parenthesis-to-macros.patch
Type: text/x-patch
Size: 1148 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170329/78b2ccb6/attachment.bin>
Greg KH
maintainerPATCH 1/1 : staging: vc04_services: fix checkpatch error
Quoted 11 lines · Haim Daniel
Quoted 1 line
From
c840c64e0e662eee04b7d0403040be81eaa34c25Mon Sep 17 00:00:00 2001From: Haim Daniel <[email protected]>
Date: Wed, 29 Mar 2017 08:43:46 +0300
Subject: [PATCH] staging:vc04_services: add parenthesis to macros
vchi_cfg.h:fix checkpatch ERROR: Macros with complex values should be enclosed in parenthesis
--- drivers/staging/vc04_services/interface/vchi/vchi_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
No signed-off-by line :(
PATCH v3 1/1 staging: vc04_services: add parenthesis to macros
vchi_cfg.h: fix checkpatch ERROR: Macros with complex values should be enclosed in parenthesis
--- drivers/staging/vc04_services/interface/vchi/vchi_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vc04_services/interface/vchi/vchi_cfg.h +1 -1
@@ -173,7 +173,7 @@* under the carpet. */ #if VCHI_RX_MSG_QUEUE_SIZE < (VCHI_MAX_MSG_SIZE /16 +1 ) *VCHI_NUM_READ_SLOTS # undef VCHI_RX_MSG_QUEUE_SIZE -# define VCHI_RX_MSG_QUEUE_SIZE (VCHI_MAX_MSG_SIZE/16 + 1) * VCHI_NUM_READ_SLOTS +# define VCHI_RX_MSG_QUEUE_SIZE ((VCHI_MAX_MSG_SIZE/16 + 1) * VCHI_NUM_READ_SLOTS)#endif /* How many bulk transmits can we have pending. Once exhausted, vchi_bulk_queue_transmit
Signature · 1 line
1.9.1