projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
889027b
)
ubi: Fix copy/paste error in function documentation
author
Sascha Hauer
<s.hauer@pengutronix.de>
Fri, 24 Nov 2017 11:17:14 +0000
(12:17 +0100)
committer
Richard Weinberger
<richard@nod.at>
Wed, 17 Jan 2018 23:18:51 +0000
(
00:18
+0100)
The function documentation of leb_write_trylock is copied from
leb_write_lock. Replace the function name with the correct one.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/eba.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/eba.c
b/drivers/mtd/ubi/eba.c
index
388e46b
..
250e30f
100644
(file)
--- a/
drivers/mtd/ubi/eba.c
+++ b/
drivers/mtd/ubi/eba.c
@@
-384,7
+384,7
@@
static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum)
}
/**
- * leb_write_
lock -
lock logical eraseblock for writing.
+ * leb_write_
trylock - try to
lock logical eraseblock for writing.
* @ubi: UBI device description object
* @vol_id: volume ID
* @lnum: logical eraseblock number