diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-08-31 15:31:57 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-09-13 16:05:30 -0400 |
commit | 89b68cd926633ff0df1e1a0ae29fcd80f68bdd96 (patch) | |
tree | 4919d0451e0ba5f1c9e78a6019411c2827174da1 | |
parent | d2e43d192b53cb4a9e940d809d93cd8ea21616fb (diff) |
UBI: Fix two typos in comments
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | drivers/mtd/ubi/ubi-media.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi/ubi-media.h index 22ed3f627506..bfceae5a890e 100644 --- a/drivers/mtd/ubi/ubi-media.h +++ b/drivers/mtd/ubi/ubi-media.h | |||
@@ -229,7 +229,7 @@ struct ubi_ec_hdr { | |||
229 | * copy. UBI also calculates data CRC when the data is moved and stores it at | 229 | * copy. UBI also calculates data CRC when the data is moved and stores it at |
230 | * the @data_crc field of the copy (P1). So when UBI needs to pick one physical | 230 | * the @data_crc field of the copy (P1). So when UBI needs to pick one physical |
231 | * eraseblock of two (P or P1), the @copy_flag of the newer one (P1) is | 231 | * eraseblock of two (P or P1), the @copy_flag of the newer one (P1) is |
232 | * examined. If it is cleared, the situation* is simple and the newer one is | 232 | * examined. If it is cleared, the situation is simple and the newer one is |
233 | * picked. If it is set, the data CRC of the copy (P1) is examined. If the CRC | 233 | * picked. If it is set, the data CRC of the copy (P1) is examined. If the CRC |
234 | * checksum is correct, this physical eraseblock is selected (P1). Otherwise | 234 | * checksum is correct, this physical eraseblock is selected (P1). Otherwise |
235 | * the older one (P) is selected. | 235 | * the older one (P) is selected. |
@@ -389,7 +389,7 @@ struct ubi_vtbl_record { | |||
389 | #define UBI_FM_POOL_MAGIC 0x67AF4D08 | 389 | #define UBI_FM_POOL_MAGIC 0x67AF4D08 |
390 | #define UBI_FM_EBA_MAGIC 0xf0c040a8 | 390 | #define UBI_FM_EBA_MAGIC 0xf0c040a8 |
391 | 391 | ||
392 | /* A fastmap supber block can be located between PEB 0 and | 392 | /* A fastmap super block can be located between PEB 0 and |
393 | * UBI_FM_MAX_START */ | 393 | * UBI_FM_MAX_START */ |
394 | #define UBI_FM_MAX_START 64 | 394 | #define UBI_FM_MAX_START 64 |
395 | 395 | ||