summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2020-07-30 18:42:29 -0700
committerJens Axboe <axboe@kernel.dk>2020-07-31 16:29:47 -0600
commit5b8f65e1f9664171a4f4c07f8cdc212650f00e77 (patch)
tree2d4724e51eec328f0a030f3a60e944ee386e2006 /block
parent3cf148891799d46542d8880c678e931c7ac5b32e (diff)
block: elevator: delete duplicated word and fix typos
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 Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/elevator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/elevator.c b/block/elevator.c
index 4eab3d70e880..90ed7a28c21d 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -95,8 +95,8 @@ static inline bool elv_support_features(unsigned int elv_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)