[UBI] drivers/mtd/ubi/scan.c: kmalloc + memset conversion to kzalloc
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Tue, 31 Jul 2007 22:02:10 +0000 (00:02 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 1 Aug 2007 10:04:05 +0000 (11:04 +0100)
commitd9b0744d6c75f7b268b728cdd1843f31bdeba311
treeab97d3ff2eb925e13c25e25db8236e12962a1272
parent4fb4caa639a27a3cb0b3bfbf2041524af43efff9
[UBI] drivers/mtd/ubi/scan.c: kmalloc + memset conversion to kzalloc

To be able to convert kmalloc + memset(..., 1, ...) to kzalloc this patch
reverses the logic around 'buf'.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/ubi/scan.c