From: Andi Kleen Date: Mon, 5 Nov 2007 22:50:56 +0000 (-0800) Subject: Fix bitmap_scnlistprintf for empty masks X-Git-Tag: v2.6.24-rc2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b030c2c2f0f1d98d5fe412e5b7cf7fd53f5221a;p=pandora-kernel.git 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 Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed