diff options
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 6a5fe9633783..c290f51dd178 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -579,7 +579,8 @@ void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, | |||
579 | for (rb = rb_first(root), \ | 579 | for (rb = rb_first(root), \ |
580 | pos = (rb ? container_of(rb, typeof(*pos), member) : NULL); \ | 580 | pos = (rb ? container_of(rb, typeof(*pos), member) : NULL); \ |
581 | rb; \ | 581 | rb; \ |
582 | rb = rb_next(rb), pos = container_of(rb, typeof(*pos), member)) | 582 | rb = rb_next(rb), \ |
583 | pos = (rb ? container_of(rb, typeof(*pos), member) : NULL)) | ||
583 | 584 | ||
584 | /** | 585 | /** |
585 | * ubi_zalloc_vid_hdr - allocate a volume identifier header object. | 586 | * ubi_zalloc_vid_hdr - allocate a volume identifier header object. |