diff options
| author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-06-20 10:03:33 -0700 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:31 +0200 |
| commit | edf57cbf2b030781885e339f32e35a470d2f8eba (patch) | |
| tree | 10d5a3c283fbe35c66fa445410ad18aedc08fbd5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | acd43e3cdffcb2e361e8b481c72e057d34fcd780 (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
