Home Home > GIT Browse > openSUSE-42.3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2018-07-09 18:43:31 +0800
committerColy Li <colyli@suse.de>2018-07-09 18:47:09 +0800
commitfc2f789802e0045d5ba8adcb5060cec6a6e6a117 (patch)
tree9c915ea50e9c43f69ee1ad2ac0d2e36b84b329fa
parentfb4b3cb6a2acee1052991bdc155e1eb02142cdee (diff)
mtd: cmdlinepart: Update comment for introduction of
OFFSET_CONTINUOUS (bsc#1099918). suse-commit: 8725f3c6f3e8a74f8cc7dd64fe153ec0d931c1b4
-rw-r--r--drivers/mtd/cmdlinepart.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c
index 08f62987cc37..656db5988826 100644
--- a/drivers/mtd/cmdlinepart.c
+++ b/drivers/mtd/cmdlinepart.c
@@ -190,7 +190,10 @@ static struct mtd_partition * newpart(char *s,
extra_mem = (unsigned char *)(parts + *num_parts);
}
- /* enter this partition (offset will be calculated later if it is zero at this point) */
+ /*
+ * enter this partition (offset will be calculated later if it is
+ * OFFSET_CONTINUOUS at this point)
+ */
parts[this_part].size = size;
parts[this_part].offset = offset;
parts[this_part].mask_flags = mask_flags;