Patchwork [4/5] ubi: trivial: fix comment of ubi_calculate_reserved()

login
register
mail settings
Submitter Shmulik Ladkani
Date July 4, 2012, 8:06 a.m.
Message ID <1341389164-24409-5-git-send-email-shmulik.ladkani@gmail.com>
Download mbox | patch
Permalink /patch/168921/
State New
Headers show

Comments

Shmulik Ladkani - July 4, 2012, 8:06 a.m.
The function name within the comment was not aligned with the actual
function name.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
---
 drivers/mtd/ubi/misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Artem Bityutskiy - July 18, 2012, 10:38 a.m.
On Wed, 2012-07-04 at 11:06 +0300, Shmulik Ladkani wrote:
> The function name within the comment was not aligned with the actual
> function name.
> 
> Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>

Pushed this one directly to the master branch, thanks!

Patch

diff --git a/drivers/mtd/ubi/misc.c b/drivers/mtd/ubi/misc.c
index e9dcb83..25b564f 100644
--- a/drivers/mtd/ubi/misc.c
+++ b/drivers/mtd/ubi/misc.c
@@ -92,7 +92,7 @@  int ubi_check_volume(struct ubi_device *ubi, int vol_id)
 }
 
 /**
- * ubi_calculate_rsvd_pool - calculate how many PEBs must be reserved for bad
+ * ubi_calculate_reserved - calculate how many PEBs must be reserved for bad
  * eraseblock handling.
  * @ubi: UBI device description object
  */