Petr Mladek 40f7828b36 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/20161213135246.GQ3506@pathway.suse.cz
Signed-off-by: Petr Mladek <pmladek@suse.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: David Sterba <dsterba@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-14 16:04:07 -08:00
..
2016-10-15 12:09:13 -07:00
2016-12-14 08:31:37 -08:00
2016-11-02 10:24:03 -06:00
2016-11-22 08:57:55 -07:00
2016-11-01 09:43:26 -06:00
2016-12-13 16:07:55 -08:00
2016-10-30 13:09:42 -04:00
2016-09-27 21:20:53 -04:00
2016-11-11 13:40:25 -07:00
2016-11-16 09:26:35 +01:00
2016-09-27 18:47:38 -04:00
2016-11-02 10:24:03 -06:00
2016-10-13 20:28:22 -07:00
2016-07-26 16:19:19 -07:00