Skip to content

Commit 89b68cd

Browse files
Uwe Kleine-Königrichardweinberger
authored andcommitted
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>
1 parent d2e43d1 commit 89b68cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mtd/ubi/ubi-media.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ struct ubi_ec_hdr {
229229
* copy. UBI also calculates data CRC when the data is moved and stores it at
230230
* the @data_crc field of the copy (P1). So when UBI needs to pick one physical
231231
* 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
233233
* picked. If it is set, the data CRC of the copy (P1) is examined. If the CRC
234234
* checksum is correct, this physical eraseblock is selected (P1). Otherwise
235235
* the older one (P) is selected.
@@ -389,7 +389,7 @@ struct ubi_vtbl_record {
389389
#define UBI_FM_POOL_MAGIC 0x67AF4D08
390390
#define UBI_FM_EBA_MAGIC 0xf0c040a8
391391

392-
/* A fastmap supber block can be located between PEB 0 and
392+
/* A fastmap super block can be located between PEB 0 and
393393
* UBI_FM_MAX_START */
394394
#define UBI_FM_MAX_START 64
395395

0 commit comments

Comments
 (0)