Skip to contentSkip to conversation

UBI: Fix typos

PATCH In review Andrew F. Davis 1 participant 3 messages Jan 5, 2017 – Mar 15, 2017

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 UBI: Fix typos

---
 drivers/mtd/ubi/Kconfig | 2 +-
 drivers/mtd/ubi/io.c    | 2 +-
 drivers/mtd/ubi/ubi.h   | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)
drivers/mtd/ubi/Kconfig +1 -1
index f0855ce08ed9..43d131f5ae10 100644
@@ -2,7 +2,7 @@ menuconfig MTD_UBI
 	tristate "Enable UBI - Unsorted block images"
 	select CRC32
 	help
-	  UBI is a software layer above MTD layer which admits of LVM-like
+	  UBI is a software layer above MTD layer which admits use of LVM-like
 	  logical volumes on top of MTD devices, hides some complexities of
 	  flash chips like wear and bad blocks and provides some other useful
 	  capabilities. Please, consult the MTD web site for more details
drivers/mtd/ubi/io.c +1 -1
index b6fb8f945c21..8290432017ce 100644
@@ -45,7 +45,7 @@
  * About minimal I/O units. In general, UBI assumes flash device model where
  * there is only one minimal I/O unit size. E.g., in case of NOR flash it is 1,
  * in case of NAND flash it is a NAND page, etc. This is reported by MTD in the
- * @ubi->mtd->writesize field. But as an exception, UBI admits of using another
+ * @ubi->mtd->writesize field. But as an exception, UBI admits use of another
  * (smaller) minimal I/O unit size for EC and VID headers to make it possible
  * to do different optimizations.
  *
drivers/mtd/ubi/ubi.h +1 -2
index 697dbcba7371..5fe62653995e 100644
@@ -544,8 +544,7 @@ struct ubi_debug_info {
  * @vid_hdr_aloffset: starting offset of the VID header aligned to
  *                    @hdrs_min_io_size
  * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset
- * @bad_allowed: whether the MTD device admits of bad physical eraseblocks or
- *               not
+ * @bad_allowed: whether the MTD device admits bad physical eraseblocks or not
  * @nor_flash: non-zero if working on top of NOR flash
  * @max_write_size: maximum amount of bytes the underlying flash can write at a
  *                  time (MTD write buffer size)
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 net: phy: dp83848: Fix Typo

---
 drivers/net/phy/dp83848.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/dp83848.c +1 -1
index 800b39f06279..0384123c2b62 100644
@@ -112,5 +112,5 @@ static struct phy_driver dp83848_driver[] = {
 module_phy_driver(dp83848_driver);
 
 MODULE_DESCRIPTION("Texas Instruments DP83848 PHY driver");
-MODULE_AUTHOR("Andrew F. Davis <[email protected]");
+MODULE_AUTHOR("Andrew F. Davis <[email protected]>");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.11.0
#2 lore raw
In reply to Andrew F. Davis
Quoted 39 lines · Andrew F. Davis
---
 drivers/mtd/ubi/Kconfig | 2 +-
 drivers/mtd/ubi/io.c    | 2 +-
 drivers/mtd/ubi/ubi.h   | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)
drivers/mtd/ubi/Kconfig +1 -1
index f0855ce08ed9..43d131f5ae10 100644
@@ -2,7 +2,7 @@ menuconfig MTD_UBI
 	tristate "Enable UBI - Unsorted block images"
 	select CRC32
 	help
-	  UBI is a software layer above MTD layer which admits of LVM-like
+	  UBI is a software layer above MTD layer which admits use of LVM-like
 	  logical volumes on top of MTD devices, hides some complexities of
 	  flash chips like wear and bad blocks and provides some other useful
 	  capabilities. Please, consult the MTD web site for more details
drivers/mtd/ubi/io.c +1 -1
index b6fb8f945c21..8290432017ce 100644
@@ -45,7 +45,7 @@
  * About minimal I/O units. In general, UBI assumes flash device model where
  * there is only one minimal I/O unit size. E.g., in case of NOR flash it is 1,
  * in case of NAND flash it is a NAND page, etc. This is reported by MTD in the
- * @ubi->mtd->writesize field. But as an exception, UBI admits of using another
+ * @ubi->mtd->writesize field. But as an exception, UBI admits use of another
  * (smaller) minimal I/O unit size for EC and VID headers to make it possible
  * to do different optimizations.
  *
drivers/mtd/ubi/ubi.h +0 -0
index 697dbcba7371..5fe62653995e 100644

drivers/mtd/ubi/ubi.h struct ubi_debug_info { · line 550

Quoted 9 lines
drivers/mtd/ubi/ubi.h +1 -2
@@ -544,8 +544,7 @@ struct ubi_debug_info {
  * @vid_hdr_aloffset: starting offset of the VID header aligned to
  *                    @hdrs_min_io_size
  * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset
- * @bad_allowed: whether the MTD device admits of bad physical eraseblocks or
- *               not
+ * @bad_allowed: whether the MTD device admits bad physical eraseblocks or not
  * @nor_flash: non-zero if working on top of NOR flash
  * @max_write_size: maximum amount of bytes the underlying flash can write at a
  *                  time (MTD write buffer size)

Ping? These still apply to v4.11-rc1, does anyone take these trivial patches anymore?