summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorKajol Jain <kjain@linux.ibm.com>2021-04-18 13:10:03 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-25 14:47:19 +1000
commitd2827e5e2e0f0941a651f4b1ca5e9b778c4b5293 (patch)
treee0c0ddbe60a500dec7c3d55b15e82122f2969ce3 /arch/powerpc
parent95839225639ba7c3d8d7231b542728dcf222bf2d (diff)
downloadlinux-d2827e5e2e0f0941a651f4b1ca5e9b778c4b5293.tar.gz
linux-d2827e5e2e0f0941a651f4b1ca5e9b778c4b5293.tar.bz2
linux-d2827e5e2e0f0941a651f4b1ca5e9b778c4b5293.zip
powerpc/papr_scm: trivial: fix typo in a comment
There is a spelling mistake "byes" -> "bytes" in a comment of function drc_pmem_query_stats(). Fix that typo. Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210418074003.6651-1-kjain@linux.ibm.com
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/pseries/papr_scm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/papr_scm.c b/arch/powerpc/platforms/pseries/papr_scm.c
index 4b93c20b24b5..f48e87ac89c9 100644
--- a/arch/powerpc/platforms/pseries/papr_scm.c
+++ b/arch/powerpc/platforms/pseries/papr_scm.c
@@ -264,7 +264,7 @@ err_out:
* Query the Dimm performance stats from PHYP and copy them (if returned) to
* provided struct papr_scm_perf_stats instance 'stats' that can hold atleast
* (num_stats + header) bytes.
- * - If buff_stats == NULL the return value is the size in byes of the buffer
+ * - If buff_stats == NULL the return value is the size in bytes of the buffer
* needed to hold all supported performance-statistics.
* - If buff_stats != NULL and num_stats == 0 then we copy all known
* performance-statistics to 'buff_stat' and expect to be large enough to