提交 e3e00445 编写于 作者: R Richard Weinberger 提交者: Artem Bityutskiy

UBI: Fix trivial typo in __schedule_ubi_work

s/of/if/
Signed-off-by: NRichard Weinberger <richard@nod.at>
Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
上级 849271a4
...@@ -835,7 +835,7 @@ static void serve_prot_queue(struct ubi_device *ubi) ...@@ -835,7 +835,7 @@ static void serve_prot_queue(struct ubi_device *ubi)
* @wrk: the work to schedule * @wrk: the work to schedule
* *
* This function adds a work defined by @wrk to the tail of the pending works * This function adds a work defined by @wrk to the tail of the pending works
* list. Can only be used of ubi->work_sem is already held in read mode! * list. Can only be used if ubi->work_sem is already held in read mode!
*/ */
static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册