From patchwork Mon Jul 17 11:28:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 121218 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1051086vqt; Mon, 17 Jul 2023 04:36:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlHHOoDlKCsgxygHApgXVU0rEQRH4H8/V4/8QHHq7xX7dMaJIraXj7DBxOHjuoN/euylAlZd X-Received: by 2002:a9d:4f01:0:b0:6b7:2515:e214 with SMTP id d1-20020a9d4f01000000b006b72515e214mr8698449otl.34.1689593798199; Mon, 17 Jul 2023 04:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689593798; cv=none; d=google.com; s=arc-20160816; b=Fk/jtRxVyvinOecxha1fO69niJQXpLx0XuulmgJaGNlHA8Bxtnq5GRQwc7Vv3p35hI F6OIaFsAnH1J61rAwr7lMPqt/C8INcKnfYC2QxSDDOjScpTMqAsErdM24nJoxUkS9G4F F4H7XLuDVZ2w+Fb2/s9fE6pr/A+X0ovb10Nw8GjEo/EeFJ0tW0zzS0o/yV4VgJOzWWeC kQCky/tUulzFzNyWQ8gV1dMahey8bmwdzr6fN4RN0jixQQBt3GNxtTIl5HUSq6wD/BF2 k1LlLtdlchv+RuO2z+iJDYtfA8jaRcbnZyQQY7Dmi5acDFSDA1Re4wBOIs5axlZFk54Y DPtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=7KwltUHMTfVMlJwncqfnaEezQv9kXZHoDa2dQzDk+Vs=; fh=pZWOv2pRkfQFUJ1QSi9xw43l3YtSwTmReJZNUnZfmEA=; b=M9F3AQu2Qr0HVwIJl/eUBJ3NKnw2OMpLGGzjdL3ZPMOHVMQFUnl7aIQTRZ7wtVh1+b n83VSpXD7sDr78gJVeWHkqKEAUScseiLxaXnYbTMlIDkLzWpCXpHCI8QLuSst21HqF+R f/oacyNpX5L0z3/FqYVFglcFABnPxd0HtvV9ipON3s977FvJu+T4Qcx91jBh1uYteLX7 SpOjx1p4X+QhcCNL82JazsyyjE3AU0N809pUhB3BTzAolSPR2yth6yHwKbSeiIXDPqye FUvfOEMbfoZJ/TAFup6eAKWmVqBwdgJ0wKkVpBpNlhxaCkzsc88YxAAz6gCu731bcy7D QBhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a639d08000000b0055ac8f5d5b1si5519714pgd.164.2023.07.17.04.36.24; Mon, 17 Jul 2023 04:36:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230124AbjGQL2E (ORCPT + 99 others); Mon, 17 Jul 2023 07:28:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230129AbjGQL14 (ORCPT ); Mon, 17 Jul 2023 07:27:56 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B986DE4E; Mon, 17 Jul 2023 04:27:55 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R4KYW3x8gzrRnC; Mon, 17 Jul 2023 19:27:11 +0800 (CST) Received: from huawei.com (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 17 Jul 2023 19:27:53 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH] cgroup: fix obsolete function name Date: Mon, 17 Jul 2023 19:28:00 +0800 Message-ID: <20230717112800.2949233-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771667506857279120 X-GMAIL-MSGID: 1771667506857279120 cgroup_taskset_migrate() has been renamed to cgroup_migrate_execute() since commit e595cd706982 ("cgroup: track migration context in cgroup_mgctx"). Update the corresponding comment. Signed-off-by: Miaohe Lin --- kernel/cgroup/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index a2700bf86698..40ee81f982ff 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -2499,7 +2499,7 @@ struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, /* * This function may be called both before and - * after cgroup_taskset_migrate(). The two cases + * after cgroup_migrate_execute(). The two cases * can be distinguished by looking at whether @cset * has its ->mg_dst_cset set. */