The patch titled Subject: ipc-do-cyclic-id-allocation-for-the-ipc-object-fix has been added to the -mm tree. Its filename is ipc-do-cyclic-id-allocation-for-the-ipc-object-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ipc-do-cyclic-id-allocation-for-the-ipc-object-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ipc-do-cyclic-id-allocation-for-the-ipc-object-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: ipc-do-cyclic-id-allocation-for-the-ipc-object-fix fix max() warning ipc/util.c: In function 'ipc_idr_alloc': include/linux/kernel.h:828:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) Reported-by: kbuild test robot <lkp@xxxxxxxxx> Cc: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- ipc/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/ipc/util.h~ipc-do-cyclic-id-allocation-for-the-ipc-object-fix +++ a/ipc/util.h @@ -42,7 +42,7 @@ extern int ipc_min_cycle; #else /* CONFIG_SYSVIPC_SYSCTL */ #define ipc_mni IPCMNI -#define ipc_min_cycle RADIX_TREE_MAP_SIZE +#define ipc_min_cycle ((int)RADIX_TREE_MAP_SIZE) #define ipcmni_seq_shift() IPCMNI_SHIFT #define IPCMNI_IDX_MASK ((1 << IPCMNI_SHIFT) - 1) #endif /* CONFIG_SYSVIPC_SYSCTL */ _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch userfaultfd-sysctl-add-vmunprivileged_userfaultfd-fix.patch mm-compaction-fix-an-undefined-behaviour-fix.patch mm-enable-error-injection-at-add_to_page_cache-fix.patch mm-memory_hotplug-provide-a-more-generic-restrictions-for-memory-hotplug-fix.patch mm-add-probe_user_read-fix.patch mm-maintain-randomization-of-page-free-lists-checkpatch-fixes.patch fs-binfmt_elfc-remove-unneeded-initialization-of-mm-start_stack.patch cpumask-fix-double-string-traverse-in-cpumask_parse-fix.patch convert-struct-pid-count-to-refcount_t-fix.patch ipc-do-cyclic-id-allocation-for-the-ipc-object-fix.patch linux-next-rejects.patch scripts-atomic-check-atomicssh-dont-assume-that-scripts-are-executable.patch mm-rename-ambiguously-named-memorystat-counters-and-functions-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.patch