Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1491451

Re: [PATCH] btrfs: fix btrfs_no_printk stub helper

From David Sterba <dsterba@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH] btrfs: fix btrfs_no_printk stub helper
Date 2016-09-26 19:20 +0200
Message-ID <slHJn-6CT-3@gated-at.bofh.it> (permalink)
References <skBcZ-62t-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 23, 2016 at 06:05:21PM +0200, Arnd Bergmann wrote:
> The addition of btrfs_no_printk() caused a build failure when
> CONFIG_PRINTK is disabled:
> 
> fs/btrfs/send.c: In function 'send_rename':
> fs/btrfs/ctree.h:3367:2: error: implicit declaration of function 'btrfs_no_printk' [-Werror=implicit-function-declaration]
> 
> This moves the helper outside of that #ifdef so it is always
> defined, and changes the existing #ifdef to refer to that
> helper as well for consistency.
> 
> Fixes: 47c57058ff2c ("btrfs: btrfs_debug should consume fs_info when DEBUG is not defined")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Reviewed-by: David Sterba <dsterba@suse.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] btrfs: fix btrfs_no_printk stub helper Arnd Bergmann <arnd@arndb.de> - 2016-09-23 18:10 +0200
  Re: [PATCH] btrfs: fix btrfs_no_printk stub helper David Sterba <dsterba@suse.cz> - 2016-09-26 19:20 +0200

csiph-web