Skip to content
Commit d9b0744d authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by David Woodhouse
Browse files

[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: default avatarMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 4fb4caa6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment