The patch titled Subject: bitops-more-bits_to_-macros-fix has been added to the -mm tree. Its filename is bitops-more-bits_to_-macros-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/bitops-more-bits_to_-macros-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/bitops-more-bits_to_-macros-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: bitops-more-bits_to_-macros-fix fix fs/ocfs2/dlm/dlmcommon.h Reported-by: kbuild test robot <lkp@xxxxxxxxx> Cc: Yury Norov <ynorov@xxxxxxxxxxx> Cc: Yury Norov <yury.norov@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ocfs2/dlm/dlmcommon.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- a/fs/ocfs2/dlm/dlmcommon.h~bitops-more-bits_to_-macros-fix +++ a/fs/ocfs2/dlm/dlmcommon.h @@ -25,6 +25,8 @@ #ifndef DLMCOMMON_H #define DLMCOMMON_H +#include <linux/bits.h> +#include <linux/bitops.h> #include <linux/kref.h> #define DLM_HB_NODE_DOWN_PRI (0xf000000) @@ -704,10 +706,6 @@ struct dlm_begin_reco __be32 pad2; }; - -#define BITS_PER_BYTE 8 -#define BITS_TO_BYTES(bits) (((bits)+BITS_PER_BYTE-1)/BITS_PER_BYTE) - struct dlm_query_join_request { u8 node_idx; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-vmallocc-fix-typo-in-comment.patch mm-mmu_gather-remove-__tlb_reset_range-for-force-flush-checkpatch-fixes.patch prctl_set_mm-refactor-checks-from-validate_prctl_map-checkpatch-fixes.patch prctl_set_mm-downgrade-mmap_sem-to-read-lock-checkpatch-fixes.patch proc-report-eip-and-esp-for-all-threads-when-coredumping-fix.patch scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix.patch ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch include-linux-pfn_th-remove-pfn_t_to_virt.patch mm-swap-use-rbtree-for-swap_extent-fix.patch mm-add-probe_user_read-fix.patch proc-sysctl-add-shared-variables-for-range-check-fix.patch vmcore-add-a-kernel-parameter-novmcoredd-fix.patch byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes.patch bitops-more-bits_to_-macros-fix.patch selftests-ptrace-add-a-test-case-for-ptrace_get_syscall_info-checkpatch-fixes.patch linux-next-rejects.patch kernel-forkc-export-kernel_thread-to-modules.patch