Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2552113ybl; Mon, 19 Aug 2019 04:02:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFUsSX3DtnlJUKYF9+vQP2U/e8kbok2GakCL89+M90AOLRK8vdfZ+gIoC6Fw9EmEVBPXWg X-Received: by 2002:a05:6a00:c7:: with SMTP id e7mr23404000pfj.52.1566212554694; Mon, 19 Aug 2019 04:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566212554; cv=none; d=google.com; s=arc-20160816; b=Q/HZGcLzN3OhaQmaFBdu46QklNmuvidy6OpspLBJ38FATQCK09FPG+1Yqsb4fS1flL xwyyP4SdYngqNVpNHv+oxsgpuqgU78Zm7MInBwonfZ+fKdBp0mnyPzdQ66Wgd0PBmNjC drktg1lg83oEUNqUVPKonUKEP7O2aEMAFNMwZmV11wQ2maQzAGXTHVsjYjVXAN6pzGdU hC3O+lJf0lwd/Bhi1gMZruztXezPUH61CqZyeSZ2EBlW5CUD957cMemEZr6geEtMbv3E pUF2QDdl5xdcv+BxT1aJQC9Qzx/AI749kg0nuz0iooH/ZHXzD2ZJ6mEDZNy0bRqemNr/ Yypw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:dkim-signature:dkim-filter; bh=9Ebv9eTrhDD+BlNsrkHBKIOZy6lsF2i1J2fZnUWvzF0=; b=iJwpg07xFgp5mZJjUqEMnJXpQqG4a/lN4RMlg0KA3OeYRwunsVwaS/Is4vKFpV78Zk uLQQd2rqeAoVRTZuND8heM73eP32nhsM0tmxh6aS7N3G/QWxnVR/ZfTJBZUVHZbPWmHO 4vIZeGk4oMX9/vWnVuojMTuJoJIvmOlEHIDFemy2reI0c8LMd9LpehhucUYoTmsxRu3b ChOQg1kDv/YAQYB1IvMZusxIR7SvAs2PIeo24Pta+T3eYw4HZ5Mhe1bx7udz72cPkEVK tWzk8qq+DAS3krXfyCxinROkMvfLExAA48UZNXIZgALcSBpt/dQvyG04mvPElsXcWSFc lBiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019071901 header.b=QJrs+8g7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y22si8574828plp.59.2019.08.19.04.02.19; Mon, 19 Aug 2019 04:02:34 -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; dkim=pass header.i=@zytor.com header.s=2019071901 header.b=QJrs+8g7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727039AbfHSLBS (ORCPT + 99 others); Mon, 19 Aug 2019 07:01:18 -0400 Received: from terminus.zytor.com ([198.137.202.136]:40981 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbfHSLBS (ORCPT ); Mon, 19 Aug 2019 07:01:18 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x7JB15KT4107102 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 19 Aug 2019 04:01:05 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x7JB15KT4107102 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019071901; t=1566212465; bh=9Ebv9eTrhDD+BlNsrkHBKIOZy6lsF2i1J2fZnUWvzF0=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=QJrs+8g7KBHGFerOQNMeMBKup78jEHykrh4j1z0+6xBo6KbjQk2B6IoY4reXdnjke LkL0Q69ms/veDvri09QQp/vABQrrIV2BD8S1Fa8bniSCT6p9JF02c7QNaXt3gMkoBk S7kRp3YaiDEYqEcXJtMSYAEFmniO6Q30WfJhH3U/4gNF6KZ9z3UZhOGBB9znoz1vXe FvDA06tiAvfDnYRkrw5cdZd3llDtln3AuzQ4BrFdjivCiFWf48n6s3eQ/RBkQ7/ZSf TQvdfcY8jwK0UDni642Z4whvZZ6Cvnz07GMqJR84k5k0Y2azPVCLKiwtkGiV42SsBs ReXJtR2Uj5sCg== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x7JB14tU4107099; Mon, 19 Aug 2019 04:01:04 -0700 Date: Mon, 19 Aug 2019 04:01:04 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Miles Chen Message-ID: Cc: mingo@kernel.org, miles.chen@mediatek.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, hpa@zytor.com Reply-To: tglx@linutronix.de, miles.chen@mediatek.com, mingo@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com In-Reply-To: <20190815113246.18478-1-miles.chen@mediatek.com> References: <20190815113246.18478-1-miles.chen@mediatek.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/stacktrace] lib/stackdepot: Fix outdated comments Git-Commit-ID: ee050dc83bc326ad5ef8ee93bca344819371e7a5 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_96_Q,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: ee050dc83bc326ad5ef8ee93bca344819371e7a5 Gitweb: https://git.kernel.org/tip/ee050dc83bc326ad5ef8ee93bca344819371e7a5 Author: Miles Chen AuthorDate: Thu, 15 Aug 2019 19:32:46 +0800 Committer: Thomas Gleixner CommitDate: Mon, 19 Aug 2019 12:57:28 +0200 lib/stackdepot: Fix outdated comments Replace "depot_save_stack" with "stack_depot_save" in code comments because depot_save_stack() was replaced in commit c0cfc337264c ("lib/stackdepot: Provide functions which operate on plain storage arrays") and removed in commit 56d8f079c51a ("lib/stackdepot: Remove obsolete functions") Signed-off-by: Miles Chen Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r/20190815113246.18478-1-miles.chen@mediatek.com --- 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)