From patchwork Thu Aug 15 11:32:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miles Chen X-Patchwork-Id: 11095663 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 76EF81395 for ; Thu, 15 Aug 2019 11:33:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62AC128833 for ; Thu, 15 Aug 2019 11:33:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 551A7288BF; Thu, 15 Aug 2019 11:33:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BACEB28833 for ; Thu, 15 Aug 2019 11:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=St8sGWpdxoUs40Dx/4QhaZF8sEqydbtMSWQzXd2Dl24=; b=eUXY/deGUQW97v 4O1Z60PgzYt1XfIn8ltDUm5css7CHtTdPtFW9XmnVZLLo/dQT9kWPHLKpG4NVpfQtohqoYZW1R172 BC+8X5pEYv6g/8h2mYw+wjrn4+ZVKx0Xeae/hltMmUBdnr+DU7CQhz32MxtxTwQmnOMnxVAv9LoRT yk3sHy6Z1mRBwOM6CHg+DR5i4zv5PzZPV9RZxax5PKxC1DgZmYpzGdbNUcSq27F8UVi9atMyLd7QN F6dxKxNZutooBpx9/P4KaT9L5IAoo0iS+JULhzhmQkzbRIsQY92owFD3sxSn3YdLQVFKbifR9moBr MXat+jvrh6gpBg4pgWxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hyE0K-0008RK-RS; Thu, 15 Aug 2019 11:33:17 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hyE03-0008AB-J8 for linux-mediatek@lists.infradead.org; Thu, 15 Aug 2019 11:33:01 +0000 X-UUID: 8c0128bd7527453ebae2a9c68d411aa5-20190815 X-UUID: 8c0128bd7527453ebae2a9c68d411aa5-20190815 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1529466530; Thu, 15 Aug 2019 03:32:53 -0800 Received: from MTKMBS06N2.mediatek.inc (172.21.101.130) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 15 Aug 2019 04:32:48 -0700 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 15 Aug 2019 19:32:46 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 15 Aug 2019 19:32:49 +0800 From: Miles Chen To: Andrew Morton Subject: [PATCH] lib/stackdepot: fix obsolete comments Date: Thu, 15 Aug 2019 19:32:46 +0800 Message-ID: <20190815113246.18478-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-SNTS-SMTP: 239B8CB4BD4799334CFD1E80150080DF02F868AEF116DC859CC16214668F06C32000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190815_043259_784819_D5A38D04 X-CRM114-Status: UNSURE ( 7.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kate Stewart , wsd_upstream@mediatek.com, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Miles Chen , Alexander Potapenko , Josh Poimboeuf , linux-mediatek@lists.infradead.org, Thomas Gleixner Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This change replaces "depot_save_stack" with "stack_depot_save" in code comments because that depot_save_stack() is replaced by stack_depot_save() in commit c0cfc337264c ("lib/stackdepot: Provide functions which operate on plain storage arrays") and depot_save_stack() is removed in commit 56d8f079c51a ("lib/stackdepot: Remove obsolete functions") Cc: Thomas Gleixner Cc: Alexander Potapenko Cc: Josh Poimboeuf Cc: Greg Kroah-Hartman Cc: Kate Stewart Signed-off-by: Miles Chen --- lib/stackdepot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stackdepot.c b/lib/stackdepot.c index 66cab785bea0..ed717dd08ff3 100644 --- a/lib/stackdepot.c +++ b/lib/stackdepot.c @@ -87,7 +87,7 @@ static bool init_stack_slab(void **prealloc) stack_slabs[depot_index + 1] = *prealloc; /* * This smp_store_release pairs with smp_load_acquire() from - * |next_slab_inited| above and in depot_save_stack(). + * |next_slab_inited| above and in stack_depot_save(). */ smp_store_release(&next_slab_inited, 1); } @@ -114,7 +114,7 @@ static struct stack_record *depot_alloc_stack(unsigned long *entries, int size, depot_offset = 0; /* * smp_store_release() here pairs with smp_load_acquire() from - * |next_slab_inited| in depot_save_stack() and + * |next_slab_inited| in stack_depot_save() and * init_stack_slab(). */ if (depot_index + 1 < STACK_ALLOC_MAX_SLABS)