From: Andrew Morton Date: Tue, 8 Nov 2011 00:20:01 +0000 (+1100) Subject: ipc-mqueue-update-maximums-for-the-mqueue-subsystem-checkpatch-fixes X-Git-Tag: next-20111116~1^2~69 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e21d9c3bcc40c4cfaaa3e1b30d6da555b0c97dda;p=karo-tx-linux.git 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 --- 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