Andi Kleen 0b030c2c2f Fix bitmap_scnlistprintf for empty masks
When a bitmap is empty bitmap_scnlistprintf() would leave the buffer
uninitialized.  Set it to an empty string in this case.

I didn't see any in normal kernel callers hitting this, but some custom
debug code of mine did.

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-05 15:12:32 -08:00
..
2007-07-31 15:39:37 -07:00
2007-05-11 05:38:25 -04:00
2007-07-16 09:05:50 -07:00
2007-07-17 10:23:04 -07:00
2007-10-18 14:37:32 -07:00
2007-05-10 18:24:13 +02:00
2007-04-25 22:28:53 -07:00
2007-07-24 12:24:59 -07:00
2007-10-19 11:53:41 -07:00
2006-10-06 08:53:40 -07:00
2007-08-22 19:52:45 -07:00
2007-10-20 01:29:18 +02:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-17 08:42:45 -07:00
2006-12-04 02:00:22 -05:00
2007-10-17 08:42:52 -07:00
2007-10-22 21:19:58 +02:00
2007-02-17 19:07:33 +01:00