OSDN Git Service

block: elevator: delete duplicated word and fix typos
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 31 Jul 2020 01:42:29 +0000 (18:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 31 Jul 2020 22:29:47 +0000 (16:29 -0600)
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>
block/elevator.c

index 4eab3d7..90ed7a2 100644 (file)
@@ -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)