diff options
| author | 2025-09-26 08:32:56 +0200 | |
|---|---|---|
| committer | 2025-11-24 21:37:36 +0100 | |
| commit | 9594783e4b4901cbc28ff940eff7e2554a4f7801 (patch) | |
| tree | b721b72174c1498fb6ad1b41197d83493cc280db /scripts/Makefile.thinlto | |
| parent | btrfs: remove unnecessary NULL fs_info check from find_lock_delalloc_range() (diff) | |
btrfs: print-tree: use string format for key names
There's a warning when -Wformat=2 is used:
fs/btrfs/print-tree.c: In function ‘key_type_string’:
fs/btrfs/print-tree.c:424:17: warning: format not a string literal and no format arguments [-Wformat-nonliteral]
424 | scnprintf(buf, buf_size, key_to_str[key->type]);
We're printing fixed strings from a table so there's no problem but
let's fix the warning so we could enable the warning in fs/btrfs/.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
