Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1991143ybl; Thu, 15 Aug 2019 04:48:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvGL85nxalKPDs2w8cX1wQJ9ehtvaew5YQ9mtI51E7HAxV9ImdU0GMxsyOzAB//IYam9+u X-Received: by 2002:a63:1341:: with SMTP id 1mr3290754pgt.48.1565869717472; Thu, 15 Aug 2019 04:48:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565869717; cv=none; d=google.com; s=arc-20160816; b=KDS329eE4rz+MDF5yhNuxsG3xfD+iq0ahgHhCQpDbm+DIin0osRdMplqRPYJSXBMXb XVQvENdT7sxPk8HKFOmZt2cNQ8YEx2ZRdP6Ga8fXIiQDVro1bIORmY80f2TDt8EzJvfE JmcfKAUiqBPz5xzU8yOSv16TERaYEbT+0nqMCdVv8602n/cofYSZ5Kyu9p1+CI30yj+L KMquEWtzk1Hmr+bLSkWh8+rM+k2cobWk4IvpEtMOk/y0CgyYWB1Akr/Zpd8ryS3UO9aa he1adHipbN2r415RFnYX4Nn2xEZ9AJRTCaZFI5chZw3/8oQvT9QLF/OJlU9vYdx6Q+sL GeTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=WO5n0aT0bDcDvCkIqUNpy38QCbgYJXZ53nUkyRwLOcE=; b=uU+P7MLaErlUMFEXZBaq5JEaEq6YuuwCANygmEtHDboT5QAkTL7PdriAq8Aw0FCLfl bacFW9SunUU4Bxqq0rhPncb1xBEuTrJrUEJA44kC0yglGA3LCU9gzf9sLTdDFNWZjQHT /euw5ndRjsGIBp5JP1y4i93t41BYU7I8f4UZuiHool8t4UevDQXNRoYCbQ6YroPXps+P eIQOyXMnfipxHLaPhcwxIhjJYjB5icSzBMP1yxMf5LeHvfQyPnpbYlubfQAibBsHsFcW 5qlZeQpObW0gWMhxW27F14ThvtUZenzFwmeHmsObc5slhTlTH+Lvl5nWmwursIVI5p/F wnTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s31si1829910plb.362.2019.08.15.04.48.21; Thu, 15 Aug 2019 04:48:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731349AbfHOLdB (ORCPT + 99 others); Thu, 15 Aug 2019 07:33:01 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:25191 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731085AbfHOLdB (ORCPT ); Thu, 15 Aug 2019 07:33:01 -0400 X-UUID: ea03828f0be8491bbad22df4eb74f96d-20190815 X-UUID: ea03828f0be8491bbad22df4eb74f96d-20190815 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1259256090; Thu, 15 Aug 2019 19:32:51 +0800 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 CC: , , , Miles Chen , Thomas Gleixner , Alexander Potapenko , Josh Poimboeuf , Greg Kroah-Hartman , Kate Stewart 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 Content-Type: text/plain X-TM-SNTS-SMTP: 239B8CB4BD4799334CFD1E80150080DF02F868AEF116DC859CC16214668F06C32000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) -- 2.18.0