diff mbox

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

Message ID 1341389164-24409-5-git-send-email-shmulik.ladkani@gmail.com
State Accepted
Commit 5c669a5bd8c0f0567127128990d01f9ae320a9ef
Headers show

Commit Message

Shmulik Ladkani July 4, 2012, 8:06 a.m. UTC
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(-)

Comments

Artem Bityutskiy July 18, 2012, 10:38 a.m. UTC | #1
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!
diff mbox

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
  */