Home
last modified time | relevance | path

Searched hist:edf57cbf (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dsuper.cedf57cbf Wed Jun 20 12:03:33 CDT 2018 Bart Van Assche <bart.vanassche@wdc.com> btrfs: Fix a C compliance issue

The C programming language does not allow to use preprocessor statements
inside macro arguments (pr_info() is defined as a macro). Hence rework
the pr_info() statement in btrfs_print_mod_info() such that it becomes
compliant. This patch allows tools like sparse to analyze the BTRFS
source code.

Fixes: 62e855771dac ("btrfs: convert printk(KERN_* to use pr_* calls")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>