summaryrefslogtreecommitdiff
path: root/lib/pldmfw
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-07-08 04:07:31 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-08 21:48:20 +0300
commit9dbbc3b9d09d6deba9f3b9e1d5b355032ed46a75 (patch)
tree452709261e37dc1ba2615c60a5fed38152b6fdc5 /lib/pldmfw
parent53b0fe36ab7c6eb3ce8ca711e636806649273463 (diff)
downloadlinux-9dbbc3b9d09d6deba9f3b9e1d5b355032ed46a75.tar.xz
lib: fix spelling mistakes
Fix some spelling mistakes in comments: permanentely ==> permanently wont ==> won't remaning ==> remaining succed ==> succeed shouldnt ==> shouldn't alpha-numeric ==> alphanumeric storeing ==> storing funtion ==> function documenation ==> documentation Determin ==> Determine intepreted ==> interpreted ammount ==> amount obious ==> obvious interupts ==> interrupts occured ==> occurred asssociated ==> associated taking into acount ==> taking into account squence ==> sequence stil ==> still contiguos ==> contiguous matchs ==> matches Link: https://lkml.kernel.org/r/20210607072555.12416-1-thunder.leizhen@huawei.com Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/pldmfw')
-rw-r--r--lib/pldmfw/pldmfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pldmfw/pldmfw.c b/lib/pldmfw/pldmfw.c
index e5d4b3b2af81..6e77eb6d8e72 100644
--- a/lib/pldmfw/pldmfw.c
+++ b/lib/pldmfw/pldmfw.c
@@ -82,7 +82,7 @@ pldm_check_fw_space(struct pldmfw_priv *data, size_t offset, size_t length)
* @bytes_to_move: number of bytes to move the offset forward by
*
* Check that there is enough space past the current offset, and then move the
- * offset forward by this ammount.
+ * offset forward by this amount.
*
* Returns: zero on success, or -EFAULT if the image is too small to fit the
* expected length.