[PATCH 13/14] staging: csr: Encapsulated (parenthesis'd) complex macro value on io.c

Sangho Yi antiroot at gmail.com
Mon Oct 15 17:25:35 UTC 2012


I made correction on the definition of a macro using parenthesis.

Signed-off-by: Sangho Yi <antiroot at gmail.com>
---
 drivers/staging/csr/io.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/csr/io.c b/drivers/staging/csr/io.c
index f910aea..74c891a 100644
--- a/drivers/staging/csr/io.c
+++ b/drivers/staging/csr/io.c
@@ -878,7 +878,7 @@ static int
 uf_read_proc(char *page, char **start, off_t offset, int count,
 		int *eof, void *data)
 {
-#define UNIFI_DEBUG_TXT_BUFFER 8*1024
+#define UNIFI_DEBUG_TXT_BUFFER (8*1024)
 	unifi_priv_t *priv;
 	int actual_amount_to_copy;
 	char *p, *orig_p;
-- 
1.7.9.5




More information about the devel mailing list