I'm looking into this warning now.
On Fri, Sep 6, 2013 at 4:40 AM, kbuild test robot <fengguang...@intel.com> wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > master > head: 1a4082f8c32a7f27ecb2f803c7324bf47ab07280 > commit: cb0963fcf836232447e11f42ded9733612e4c63f [3628/3827] ceph: use > fscache as a local presisent cache > config: make ARCH=x86_64 allmodconfig > > All warnings: > > In file included from fs/ceph/super.h:4:0, > from fs/ceph/cache.c:26: >>> include/linux/ceph/ceph_debug.h:4:0: warning: "pr_fmt" redefined [enabled >>> by default] > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > ^ > In file included from include/linux/kernel.h:13:0, > from include/asm-generic/bug.h:13, > from arch/x86/include/asm/bug.h:38, > from include/linux/bug.h:4, > from include/linux/thread_info.h:11, > from include/linux/preempt.h:9, > from include/linux/spinlock.h:50, > from include/linux/wait.h:7, > from include/linux/fs.h:6, > from include/linux/fscache.h:21, > from fs/ceph/cache.c:24: > include/linux/printk.h:206:0: note: this is the location of the previous > definition > #define pr_fmt(fmt) fmt > ^ > > vim +/pr_fmt +4 include/linux/ceph/ceph_debug.h > > 1 #ifndef _FS_CEPH_DEBUG_H > 2 #define _FS_CEPH_DEBUG_H > 3 > > 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > 5 > 6 #ifdef CONFIG_CEPH_LIB_PRETTYDEBUG > 7 > 8 /* > 9 * wrap pr_debug to include a filename:lineno prefix on each line. > 10 * this incurs some overhead (kernel size and execution time) due to > 11 * the extra function call at each call site. > 12 */ > > --- > 0-DAY kernel build testing backend Open Source Technology Center > http://lists.01.org/mailman/listinfo/kbuild Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html