From 296de6056b781e7f6df67397d28d076816f7db35 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 17 Nov 2011 10:41:10 +1100 Subject: [PATCH] ipc-mqueue-update-maximums-for-the-mqueue-subsystem-checkpatch-fixes Cc: Amerigo Wang ERROR: Macros with complex values should be enclosed in parenthesis #87: FILE: include/linux/ipc_namespace.h:126: +#define DFLT_MSGSIZEMAX 1024*1024 ERROR: Macros with complex values should be enclosed in parenthesis #88: FILE: include/linux/ipc_namespace.h:127: +#define HARD_MSGSIZEMAX 16*1024*1024 total: 2 errors, 0 warnings, 75 lines checked ./patches/ipc-mqueue-update-maximums-for-the-mqueue-subsystem.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Doug Ledford Signed-off-by: Andrew Morton --- include/linux/ipc_namespace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/ipc_namespace.h b/include/linux/ipc_namespace.h index ceeef6882c09..e2bac00eb5a3 100644 --- a/include/linux/ipc_namespace.h +++ b/include/linux/ipc_namespace.h @@ -123,8 +123,8 @@ extern int mq_init_ns(struct ipc_namespace *ns); #define HARD_MSGMAX 65536 #define MIN_MSGSIZEMAX 128 #define DFLT_MSGSIZE 8192U -#define DFLT_MSGSIZEMAX 1024*1024 -#define HARD_MSGSIZEMAX 16*1024*1024 +#define DFLT_MSGSIZEMAX (1024*1024) +#define HARD_MSGSIZEMAX (16*1024*1024) #else static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } #endif -- 2.39.5