Message ID | 1620280462-21937-1-git-send-email-zhangshaokun@hisilicon.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: kernel: Update the stale comment | expand |
On Thu, May 06, 2021 at 01:54:22PM +0800, Shaokun Zhang wrote: > Commit af391b15f7b5 ("arm64: kernel: rename __cpu_suspend to keep it aligned with arm") > has used @index instead of @arg, but the comment is stale, update it. > Looks good to me, thanks for noticing and fixing this. Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> -- Regards, Sudeep
On Thu, 6 May 2021 13:54:22 +0800, Shaokun Zhang wrote: > Commit af391b15f7b5 ("arm64: kernel: rename __cpu_suspend to keep it aligned with arm") > has used @index instead of @arg, but the comment is stale, update it. Applied to arm64 (for-next/core), thanks! [1/1] arm64: kernel: Update the stale comment https://git.kernel.org/arm64/c/c76fba33467b
diff --git a/arch/arm64/kernel/cpuidle.c b/arch/arm64/kernel/cpuidle.c index b512b5503f6e..03991eeff643 100644 --- a/arch/arm64/kernel/cpuidle.c +++ b/arch/arm64/kernel/cpuidle.c @@ -29,7 +29,7 @@ int arm_cpuidle_init(unsigned int cpu) /** * arm_cpuidle_suspend() - function to enter a low-power idle state - * @arg: argument to pass to CPU suspend operations + * @index: argument to pass to CPU suspend operations * * Return: 0 on success, -EOPNOTSUPP if CPU suspend hook not initialized, CPU * operations back-end error code otherwise.
Commit af391b15f7b5 ("arm64: kernel: rename __cpu_suspend to keep it aligned with arm") has used @index instead of @arg, but the comment is stale, update it. Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> --- arch/arm64/kernel/cpuidle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)