tty/ldsem: Fix syntax errors in comments
PATCH 1/1 tty/ldsem: Fix syntax errors in comments
Delete the redundant word 'are'
Signed-off-by Xiang wangx <[email protected]>
--- drivers/tty/tty_ldsem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/tty_ldsem.c +1 -1
@@ -163,7 +163,7 @@ down_read_failed(struct ld_semaphore *sem, long count, long timeout)/* * Try to reverse the lock attempt but if the count has changed -* so that reversing fails, check if there are are no waiters, +* so that reversing fails, check if there are no waiters, * and early-out if not */ do {
Signature · 1 line
2.20.1
Quoted 3 lines · Xiang wangx
Delete the redundant word 'are'
Signed-off-by Xiang wangx <[email protected]>
Reviewed-by Jiri Slaby <[email protected]>
Maybe you can add also a period to the end of the sentence.
Quoted 18 lines
--- drivers/tty/tty_ldsem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/tty/tty_ldsem.c +1
-1@@ -163,7 +163,7 @@ down_read_failed(struct ld_semaphore *sem, long count, long timeout)/* * Try to reverse the lock attempt but if the count has changed -* so that reversing fails, check if there are are no waiters, +* so that reversing fails, check if there are no waiters, * and early-out if not */ do {
Signature · 1 line
js