From f35ce372d8c97e0a8b6d041a79c321eddb8987a0 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 5 Oct 2011 11:42:33 +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