Commit 451fd6ee authored by Julia Lawall's avatar Julia Lawall Committed by Greg Kroah-Hartman

devres: fix typos in comments

Various spelling mistakes in comments.
Detected with the help of Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>

Link: https://lore.kernel.org/r/20220314115354.144023-19-Julia.Lawall@inria.frSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 615f3eea
...@@ -692,7 +692,7 @@ EXPORT_SYMBOL_GPL(devres_release_group); ...@@ -692,7 +692,7 @@ EXPORT_SYMBOL_GPL(devres_release_group);
/* /*
* Custom devres actions allow inserting a simple function call * Custom devres actions allow inserting a simple function call
* into the teadown sequence. * into the teardown sequence.
*/ */
struct action_devres { struct action_devres {
...@@ -916,7 +916,7 @@ void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp) ...@@ -916,7 +916,7 @@ void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp)
/* /*
* We can copy the memory contents after releasing the lock as we're * We can copy the memory contents after releasing the lock as we're
* no longer modyfing the list links. * no longer modifying the list links.
*/ */
memcpy(new_dr->data, old_dr->data, memcpy(new_dr->data, old_dr->data,
total_old_size - offsetof(struct devres, data)); total_old_size - offsetof(struct devres, data));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment