summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2025-12-09 18:10:31 +0100
committerDavid Sterba <dsterba@suse.com>2026-02-03 07:49:10 +0100
commit01c8634c695d199de4a4669c5d684bbec148e71b (patch)
treedbf4ec526a6469cf0131ee575717d24e8ce72aee /include/linux/i2c/git@git.tavy.me:linux.git
parentc53d61e24086fc7893fa03b148f930c08bd3cd77 (diff)
btrfs: pass level to _btrfs_printk() to avoid parsing level from string
There's code in _btrfs_printk() to parse the message level from the input string so we can augment the message with the level description for better visibility in the logs. The parsing code has evolved over time, see commits: - 40f7828b36e3b9 ("btrfs: better handle btrfs_printk() defaults") - 262c5e86fec7cf ("printk/btrfs: handle more message headers") - 533574c6bc30cf ("btrfs: use printk_get_level and printk_skip_level, add __printf, fix fallout") - 4da35113426d16 ("btrfs: add varargs to btrfs_error") As we are using the specific level helpers everywhere we can simply pass the message level so we don't have to parse it. The proper printk() message header is created as KERN_SOH + "level". Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions