summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@kernel.org>2023-05-26 15:45:13 +0200
committerJakub Kicinski <kuba@kernel.org>2023-05-29 21:59:59 -0700
commit45402f04c5821a0c42c5d8b17e4abad504e598bb (patch)
tree4659303ca4147aa7a75e42ca1a209944f7b9be53
parentef1bc119ceb52d22a83f72b8dfce1dd64a3cca05 (diff)
devlink: Spelling corrections
Make some minor spelling corrections in comments. Found by inspection. Signed-off-by: Simon Horman <horms@kernel.org> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20230526-devlink-spelling-v1-1-9a3e36cdebc8@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--include/net/devlink.h2
-rw-r--r--net/devlink/leftover.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index 1bd56c8d6f3c..ec109b39c3ea 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -1261,7 +1261,7 @@ struct devlink_ops {
/**
* @supported_flash_update_params:
* mask of parameters supported by the driver's .flash_update
- * implemementation.
+ * implementation.
*/
u32 supported_flash_update_params;
unsigned long reload_actions;
diff --git a/net/devlink/leftover.c b/net/devlink/leftover.c
index 0410137a4a31..9e801b749194 100644
--- a/net/devlink/leftover.c
+++ b/net/devlink/leftover.c
@@ -6761,7 +6761,7 @@ static void devlink_port_type_warn_cancel(struct devlink_port *devlink_port)
* @devlink: devlink
* @devlink_port: devlink port
*
- * Initialize essencial stuff that is needed for functions
+ * Initialize essential stuff that is needed for functions
* that may be called before devlink port registration.
* Call to this function is optional and not needed
* in case the driver does not use such functions.
@@ -6782,7 +6782,7 @@ EXPORT_SYMBOL_GPL(devlink_port_init);
*
* @devlink_port: devlink port
*
- * Deinitialize essencial stuff that is in use for functions
+ * Deinitialize essential stuff that is in use for functions
* that may be called after devlink port unregistration.
* Call to this function is optional and not needed
* in case the driver does not use such functions.