From patchwork Thu May 6 05:54:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaokun Zhang X-Patchwork-Id: 12241667 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1804EC433ED for ; Thu, 6 May 2021 05:56:46 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C660161176 for ; Thu, 6 May 2021 05:56:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C660161176 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=hisilicon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=FENfghMYZmhTPZYCgRD7d+Np5q+uoVw93U2m9Whzvww=; b=GU38mTVXHBI+uImNujauYG17P5 YztWGq6Vyt68wMhsZuW7ehHTyD38/dXt8FtdQrHVQ/BuA0dzV1x/P5M+9vUeG/bpHv9tXgdOmj+0m ZCBS0l9uEQI9zYiWWQHeKZrSG1nblBK9S9oLk43V8ILLfRFIGLInfGLJc37nQOyO9hdg+4yPyPsZZ +odDuI8Cty5znlGr4iUEwbl40RIJ4/8A41IyE3h1+2EJ8LWYpo0mveT5ZS8EcmUbenN3K7uXVx0WW 3xk84i8csHvO4fngvUxJsmjsAmRmmTKQ+gNqv5/3zi7IkGB/HVxHKiLzD3TrzFlsMUUX7eaxgZNW0 2jxTvWuA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1leWyG-003ICV-U1; Thu, 06 May 2021 05:54:49 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leWyC-003IBz-IT for linux-arm-kernel@desiato.infradead.org; Thu, 06 May 2021 05:54:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=Fi1La71Ve/8YODmYARmn/r1cJmYLI/XAk+qqGJu9sOM=; b=GLbZekbpxd5f2VEndYhi5uF/OQ oyperUuGuF6DPcZjirM+mg1rUOdIMFlDE7bwdVdJAaP7YDAHT3t7pdj9ZhmuJJq29XBojElZh7bee 0sIWY2+Tor1/7BNNkrpPphlsiBLoPLutz0YOUEuzSzvlYYr6Wdp0AQ1E2+W94ngLSrmxDSWWbkvGF 0It3jPuYMIVry1luQ5V8oVo7LFFHL2uW0bHgoyaJaVQo79jL91T02xIrSJJPEB5fx5TdErUgMKlbM 2oMXgZRHnREtxBZKvLXuNcXAOFm2LhxlYK0OnP/g65zMPProdW7laNhC7yHXbE1PHs7avzp6duGwh iQ58QlnA==; Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leWy9-005cds-Ir for linux-arm-kernel@lists.infradead.org; Thu, 06 May 2021 05:54:43 +0000 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FbN436RYQzmfgN; Thu, 6 May 2021 13:51:15 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Thu, 6 May 2021 13:54:20 +0800 From: Shaokun Zhang To: CC: Shaokun Zhang , Sudeep Holla , Catalin Marinas , "Will Deacon" Subject: [PATCH] arm64: kernel: Update the stale comment Date: Thu, 6 May 2021 13:54:22 +0800 Message-ID: <1620280462-21937-1-git-send-email-zhangshaokun@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210505_225441_808771_446B9C06 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Shaokun Zhang Reviewed-by: Sudeep Holla --- arch/arm64/kernel/cpuidle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.