UBI: Init vol->reserved_pebs by assignment
authorshengyong <shengyong1@huawei.com>
Tue, 26 May 2015 10:07:08 +0000 (10:07 +0000)
committerRichard Weinberger <richard@nod.at>
Tue, 2 Jun 2015 09:44:43 +0000 (11:44 +0200)
commite8d266cf8d24e52eac65bdab24afd6f4cfc0ad07
treef12cbdf3c55d777162c9cb323547cb528b29239f
parentf6e951af34c515ffc69f4a557cf62533420c8ce4
UBI: Init vol->reserved_pebs by assignment

`vol' is a newly allocated value by kzalloc. Initialize it by assignment
instead of `+='.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/vmt.c