aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPetr Mladek <[email protected]>2016-12-14 15:04:01 -0800
committerLinus Torvalds <[email protected]>2016-12-14 16:04:07 -0800
commit40f7828b36e3b9dd2fdc34d065e342cddf8d7bef (patch)
tree886d664a7ea0a22f87013bb83c4c12e51611b72e /include/linux
parent775a2e29c3bbcf853432f47d3caa9ff8808807ad (diff)
btrfs: better handle btrfs_printk() defaults
Commit 262c5e86fec7 ("printk/btrfs: handle more message headers") triggers: warning: `ratelimit' may be used uninitialized in this function with gcc (4.1.2) and probably many other versions. The code actually is correct but a bit twisted. Let's make it more straightforward and set the default values at the beginning. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Petr Mladek <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: David Sterba <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions