linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the ceph tree
@ 2013-09-06  5:05 Stephen Rothwell
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2013-09-06  5:05 UTC (permalink / raw)
  To: Sage Weil; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]

Hi Sage,

After merging the ceph tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

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
 ^

Probably introduced by commit cb0963fcf836 ("ceph: use fscache as a local
presisent cache").

pr_fmt needs to be defined before printk.h gets included.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* linux-next: build warning after merge of the ceph tree
@ 2013-06-17  8:29 Stephen Rothwell
  2013-06-17 16:13 ` Sage Weil
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2013-06-17  8:29 UTC (permalink / raw)
  To: Sage Weil; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

Hi Sage,

After merging the ceph tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/block/rbd.c: In function 'rbd_release':
drivers/block/rbd.c:510:2: warning: 'return' with a value, in function returning void [enabled by default]
  return 0;
  ^

Caused by commit f28d6bf9ef4d ("Merge remote-tracking branch
'linus/master' into testing").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-06  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06  5:05 linux-next: build warning after merge of the ceph tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2013-06-17  8:29 Stephen Rothwell
2013-06-17 16:13 ` Sage Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).