Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Kajol Jain and committed by
Michael Ellerman
d2827e5e 95839225

+1 -1
+1 -1
arch/powerpc/platforms/pseries/papr_scm.c
··· 264 264 * Query the Dimm performance stats from PHYP and copy them (if returned) to 265 265 * provided struct papr_scm_perf_stats instance 'stats' that can hold atleast 266 266 * (num_stats + header) bytes. 267 - * - If buff_stats == NULL the return value is the size in byes of the buffer 267 + * - If buff_stats == NULL the return value is the size in bytes of the buffer 268 268 * needed to hold all supported performance-statistics. 269 269 * - If buff_stats != NULL and num_stats == 0 then we copy all known 270 270 * performance-statistics to 'buff_stat' and expect to be large enough to