* [PATCH 0/7] block: delete or fix duplicated words
@ 2020-07-31 1:42 Randy Dunlap
2020-07-31 1:42 ` [PATCH 1/7] block: bfq-iosched: fix duplicated word Randy Dunlap
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Drop doubled words or fix them to what they should be.
Also fix a few typos and kernel-doc notation.
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
block/bfq-iosched.c | 2 +-
block/bio.c | 4 ++--
block/blk-mq-sched.c | 2 +-
block/blk-mq.c | 2 +-
block/blk-timeout.c | 2 +-
block/elevator.c | 4 ++--
block/genhd.c | 6 +++---
7 files changed, 11 insertions(+), 11 deletions(-)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/7] block: bfq-iosched: fix duplicated word
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
@ 2020-07-31 1:42 ` Randy Dunlap
2020-07-31 1:42 ` [PATCH 2/7] block: bio: delete duplicated words Randy Dunlap
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Change "at at" to "at a".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/bfq-iosched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200730.orig/block/bfq-iosched.c
+++ linux-next-20200730/block/bfq-iosched.c
@@ -4714,7 +4714,7 @@ static struct request *__bfq_dispatch_re
* some unlucky request wait for as long as the device
* wishes.
*
- * Of course, serving one request at at time may cause loss of
+ * Of course, serving one request at a time may cause loss of
* throughput.
*/
if (bfqd->strict_guarantees && bfqd->rq_in_driver > 0)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/7] block: bio: delete duplicated words
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
2020-07-31 1:42 ` [PATCH 1/7] block: bfq-iosched: fix duplicated word Randy Dunlap
@ 2020-07-31 1:42 ` Randy Dunlap
2020-07-31 1:42 ` [PATCH 3/7] block: elevator: delete duplicated word and fix typos Randy Dunlap
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Drop the repeated words "a" and "the".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/bio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20200730.orig/block/bio.c
+++ linux-next-20200730/block/bio.c
@@ -862,7 +862,7 @@ EXPORT_SYMBOL(bio_add_pc_page);
* @same_page: return if the segment has been merged inside the same page
*
* Try to add the data at @page + @off to the last bvec of @bio. This is a
- * a useful optimisation for file systems with a block size smaller than the
+ * useful optimisation for file systems with a block size smaller than the
* page size.
*
* Warn if (@len, @off) crosses pages in case that @same_page is true.
@@ -988,7 +988,7 @@ static int __bio_iov_bvec_add_pages(stru
* Pins pages from *iter and appends them to @bio's bvec array. The
* pages will have to be released using put_page() when done.
* For multi-segment *iter, this function only adds pages from the
- * the next non-empty segment of the iov iterator.
+ * next non-empty segment of the iov iterator.
*/
static int __bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter)
{
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/7] block: elevator: delete duplicated word and fix typos
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
2020-07-31 1:42 ` [PATCH 1/7] block: bfq-iosched: fix duplicated word Randy Dunlap
2020-07-31 1:42 ` [PATCH 2/7] block: bio: delete duplicated words Randy Dunlap
@ 2020-07-31 1:42 ` Randy Dunlap
2020-07-31 1:42 ` [PATCH 4/7] block: genhd: delete duplicated words Randy Dunlap
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Drop the repeated word "the".
Fix typos of "features" and "specified".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/elevator.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20200730.orig/block/elevator.c
+++ linux-next-20200730/block/elevator.c
@@ -95,8 +95,8 @@ static inline bool elv_support_features(
* @name: Elevator name to test
* @required_features: Features that the elevator must provide
*
- * Return true is the elevator @e name matches @name and if @e provides all the
- * the feratures spcified by @required_features.
+ * Return true if the elevator @e name matches @name and if @e provides all
+ * the features specified by @required_features.
*/
static bool elevator_match(const struct elevator_type *e, const char *name,
unsigned int required_features)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 4/7] block: genhd: delete duplicated words
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
` (2 preceding siblings ...)
2020-07-31 1:42 ` [PATCH 3/7] block: elevator: delete duplicated word and fix typos Randy Dunlap
@ 2020-07-31 1:42 ` Randy Dunlap
2020-07-31 1:42 ` [PATCH 5/7] block: blk-mq: delete duplicated word Randy Dunlap
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Drop the repeated word "to" in multiple places.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/genhd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20200730.orig/block/genhd.c
+++ linux-next-20200730/block/genhd.c
@@ -1773,7 +1773,7 @@ EXPORT_SYMBOL(__alloc_disk_node);
/**
* get_disk_and_module - increments the gendisk and gendisk fops module refcount
- * @disk: the struct gendisk to to increment the refcount for
+ * @disk: the struct gendisk to increment the refcount for
*
* This increments the refcount for the struct gendisk, and the gendisk's
* fops module owner.
@@ -1802,7 +1802,7 @@ EXPORT_SYMBOL(get_disk_and_module);
/**
* put_disk - decrements the gendisk refcount
- * @disk: the struct gendisk to to decrement the refcount for
+ * @disk: the struct gendisk to decrement the refcount for
*
* This decrements the refcount for the struct gendisk. When this reaches 0
* we'll have disk_release() called.
@@ -1819,7 +1819,7 @@ EXPORT_SYMBOL(put_disk);
/**
* put_disk_and_module - decrements the module and gendisk refcount
- * @disk: the struct gendisk to to decrement the refcount for
+ * @disk: the struct gendisk to decrement the refcount for
*
* This is a counterpart of get_disk_and_module() and thus also of
* get_gendisk().
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 5/7] block: blk-mq: delete duplicated word
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
` (3 preceding siblings ...)
2020-07-31 1:42 ` [PATCH 4/7] block: genhd: delete duplicated words Randy Dunlap
@ 2020-07-31 1:42 ` Randy Dunlap
2020-07-31 1:42 ` [PATCH 6/7] block: blk-mq-sched: " Randy Dunlap
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Drop the repeated word "the".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/blk-mq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200730.orig/block/blk-mq.c
+++ linux-next-20200730/block/blk-mq.c
@@ -388,7 +388,7 @@ retry:
/*
* Give up the CPU and sleep for a random short time to ensure
* that thread using a realtime scheduling class are migrated
- * off the the CPU, and thus off the hctx that is going away.
+ * off the CPU, and thus off the hctx that is going away.
*/
msleep(3);
goto retry;
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 6/7] block: blk-mq-sched: delete duplicated word
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
` (4 preceding siblings ...)
2020-07-31 1:42 ` [PATCH 5/7] block: blk-mq: delete duplicated word Randy Dunlap
@ 2020-07-31 1:42 ` Randy Dunlap
2020-07-31 1:42 ` [PATCH 7/7] block: blk-timeout: " Randy Dunlap
2020-07-31 22:30 ` [PATCH 0/7] block: delete or fix duplicated words Jens Axboe
7 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Drop the repeated word "to".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/blk-mq-sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200730.orig/block/blk-mq-sched.c
+++ linux-next-20200730/block/blk-mq-sched.c
@@ -225,7 +225,7 @@ static struct blk_mq_ctx *blk_mq_next_ct
* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE.
*
* Returns -EAGAIN if hctx->dispatch was found non-empty and run_work has to
- * to be run again. This is necessary to avoid starving flushes.
+ * be run again. This is necessary to avoid starving flushes.
*/
static int blk_mq_do_dispatch_ctx(struct blk_mq_hw_ctx *hctx)
{
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 7/7] block: blk-timeout: delete duplicated word
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
` (5 preceding siblings ...)
2020-07-31 1:42 ` [PATCH 6/7] block: blk-mq-sched: " Randy Dunlap
@ 2020-07-31 1:42 ` Randy Dunlap
2020-07-31 22:30 ` [PATCH 0/7] block: delete or fix duplicated words Jens Axboe
7 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-07-31 1:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jens Axboe, linux-block
Drop the repeated word "request".
Change to the correct kernel-doc notation for function name separtor.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/blk-timeout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200730.orig/block/blk-timeout.c
+++ linux-next-20200730/block/blk-timeout.c
@@ -68,7 +68,7 @@ ssize_t part_timeout_store(struct device
#endif /* CONFIG_FAIL_IO_TIMEOUT */
/**
- * blk_abort_request -- Request request recovery for the specified command
+ * blk_abort_request - Request recovery for the specified command
* @req: pointer to the request of interest
*
* This function requests that the block layer start recovery for the
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/7] block: delete or fix duplicated words
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
` (6 preceding siblings ...)
2020-07-31 1:42 ` [PATCH 7/7] block: blk-timeout: " Randy Dunlap
@ 2020-07-31 22:30 ` Jens Axboe
7 siblings, 0 replies; 9+ messages in thread
From: Jens Axboe @ 2020-07-31 22:30 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel; +Cc: linux-block
On 7/30/20 7:42 PM, Randy Dunlap wrote:
> Drop doubled words or fix them to what they should be.
> Also fix a few typos and kernel-doc notation.
Applied, thanks.
--
Jens Axboe
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-07-31 22:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 1:42 [PATCH 0/7] block: delete or fix duplicated words Randy Dunlap
2020-07-31 1:42 ` [PATCH 1/7] block: bfq-iosched: fix duplicated word Randy Dunlap
2020-07-31 1:42 ` [PATCH 2/7] block: bio: delete duplicated words Randy Dunlap
2020-07-31 1:42 ` [PATCH 3/7] block: elevator: delete duplicated word and fix typos Randy Dunlap
2020-07-31 1:42 ` [PATCH 4/7] block: genhd: delete duplicated words Randy Dunlap
2020-07-31 1:42 ` [PATCH 5/7] block: blk-mq: delete duplicated word Randy Dunlap
2020-07-31 1:42 ` [PATCH 6/7] block: blk-mq-sched: " Randy Dunlap
2020-07-31 1:42 ` [PATCH 7/7] block: blk-timeout: " Randy Dunlap
2020-07-31 22:30 ` [PATCH 0/7] block: delete or fix duplicated words Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).