diff options
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
-rw-r--r-- | drivers/mtd/ubi/vtbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index bc5df50813d6..b0a1e8426456 100644 --- a/drivers/mtd/ubi/vtbl.c +++ b/drivers/mtd/ubi/vtbl.c | |||
@@ -264,7 +264,7 @@ static int create_vtbl(const struct ubi_device *ubi, struct ubi_scan_info *si, | |||
264 | 264 | ||
265 | ubi_msg("create volume table (copy #%d)", copy + 1); | 265 | ubi_msg("create volume table (copy #%d)", copy + 1); |
266 | 266 | ||
267 | vid_hdr = ubi_zalloc_vid_hdr(ubi); | 267 | vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); |
268 | if (!vid_hdr) | 268 | if (!vid_hdr) |
269 | return -ENOMEM; | 269 | return -ENOMEM; |
270 | 270 | ||