* [PATCH]: staging: vc04_services: fix checkpatch error
@ 2017-03-29 5:48 Haim Daniel
2017-03-29 7:38 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Haim Daniel @ 2017-03-29 5:48 UTC (permalink / raw)
To: linux-arm-kernel
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH]: staging: vc04_services: fix checkpatch error
2017-03-29 5:48 [PATCH]: staging: vc04_services: fix checkpatch error Haim Daniel
@ 2017-03-29 7:38 ` Greg KH
2017-03-29 7:58 ` [PATCH v3] staging: vc04_services: add parenthesis to macros Haim Daniel
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2017-03-29 7:38 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Mar 29, 2017 at 08:48:50AM +0300, Haim Daniel wrote:
> >From c840c64e0e662eee04b7d0403040be81eaa34c25 Mon Sep 17 00:00:00 2001
> From: Haim Daniel <haimdaniel@gmail.com>
> 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 :(
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v3] staging: vc04_services: add parenthesis to macros
2017-03-29 7:38 ` Greg KH
@ 2017-03-29 7:58 ` Haim Daniel
0 siblings, 0 replies; 3+ messages in thread
From: Haim Daniel @ 2017-03-29 7:58 UTC (permalink / raw)
To: linux-arm-kernel
vchi_cfg.h: fix checkpatch ERROR: Macros with complex values should be enclosed in parenthesis
Signed-off-by: Haim Daniel <haimdaniel@gmail.com>
---
drivers/staging/vc04_services/interface/vchi/vchi_cfg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h b/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h
index 26bc2d3..b6f42b8 100644
--- a/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h
+++ b/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h
@@ -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
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-29 7:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-29 5:48 [PATCH]: staging: vc04_services: fix checkpatch error Haim Daniel
2017-03-29 7:38 ` Greg KH
2017-03-29 7:58 ` [PATCH v3] staging: vc04_services: add parenthesis to macros Haim Daniel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).