lib/test_printf: Switch to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Mar 2019 10:00:09 +0000 (12:00 +0200)
committerPetr Mladek <pmladek@suse.com>
Wed, 20 Mar 2019 13:02:47 +0000 (14:02 +0100)
commit2821fd0c2be0c4e513b1622d86df9170ef62a6d4
tree5e135326dd69c3f4919629d37153595f74b967b3
parentc4703acd6d4a58dc4b31ad2a8f8b14becb898d25
lib/test_printf: Switch to bitmap_zalloc()

Switch to bitmap_zalloc() to show clearly what we are allocating.
Besides that it returns pointer of bitmap type instead of opaque void *.

Link: http://lkml.kernel.org/r/20190304100009.65147-1-andriy.shevchenko@linux.intel.com
To: linux-kernel@vger.kernel.org
To: Andrew Morton <akpm@linux-foundation.org>
To: linux@rasmusvillemoes.dk
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
lib/test_printf.c