Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp798021rwb; Fri, 23 Sep 2022 04:26:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7nQP7DXPPW3OyJXlvudbbYEVXHbB5RO2MXipbuQfm22tcxk0PNUX8iL5vdgbwCUKQiiYIU X-Received: by 2002:a05:6402:50ca:b0:451:a711:1389 with SMTP id h10-20020a05640250ca00b00451a7111389mr7668465edb.239.1663932409538; Fri, 23 Sep 2022 04:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663932409; cv=none; d=google.com; s=arc-20160816; b=Dn4wPV042R2bmA0+EYo5+W3hSgHVT0Eqd0jOBunFbDCiL/0zDpdGGWJMrEqchL57b/ xGdgrJe7uFBsOzhaCYDMZPgHzW7AZvVDOF42ffk+YyAHE3uaaCvRIg9kdwmJJoT1QmwF VlUXrJaST/ZMl8GZNlW+4+kJ4F5eNm29GWN+M28JDsuGTsy0oskG+yjONQqw6xRMLXGM MHQNemPAMYowTs9ZU8z7te7CRd47VRo6xM12cFor7QIl0LneIY4J51DDOZGLTEOrtwIf uzYmSVFvfNPWA7qYVBezbZC/EaZHrjYFYXNxQf2xrz41Oyut0oQya22Wqhv+FfzquHnb YROQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=BMMq/AP9mw0ru5RqqZVLWos+j/po2JHo/Yxw/3f5uzo=; b=Ob4qE31R5ci21ytO0z/Sum0p7aNYBuTgawNcMaf6Bt8lATVUxm8dFejylCMqLgx2fy sj9XA0o8JpDZXlKXnpZFaBWx/VPKPmzjYTvYL0gS3l5zpxTANB1FHUT02vdtE7enUo/H 0A6NvHHKmZQpGMB30O2NbZP/qPOYYJ/01UvCcRCWLbsC/vz7XzJL2bKmFVKEPftS5lP7 8We6NNCNt6J0Hb9+zMPesk/u/TZYSuEKsY0bgSmGxTVRja0zXObBMHAQMTRcgWaAHqfY 6OCsZsWb6tPEedejzLqOnpgZDR5CB25Ct2u1/eqkUrt6SAlCeo2a4Hbq6XE3b1wFSEkY gwzA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb29-20020a1709071c9d00b00781599eb7e1si8515331ejc.519.2022.09.23.04.26.24; Fri, 23 Sep 2022 04:26:49 -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 S232191AbiIWLWG (ORCPT + 99 others); Fri, 23 Sep 2022 07:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231803AbiIWLV4 (ORCPT ); Fri, 23 Sep 2022 07:21:56 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413AA13572C; Fri, 23 Sep 2022 04:21:54 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MYqP1095XzMnvr; Fri, 23 Sep 2022 19:17:09 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 23 Sep 2022 19:21:52 +0800 Received: from thunder-town.china.huawei.com (10.174.178.55) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 23 Sep 2022 19:21:51 +0800 From: Zhen Lei To: Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , , , Masahiro Yamada , Alexei Starovoitov , Jiri Olsa , Kees Cook , Andrew Morton , "Luis Chamberlain" , , "Steven Rostedt" , Ingo Molnar CC: Zhen Lei Subject: [PATCH v5 01/10] scripts/kallsyms: rename build_initial_tok_table() Date: Fri, 23 Sep 2022 19:20:24 +0800 Message-ID: <20220923112033.1958-2-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20220923112033.1958-1-thunder.leizhen@huawei.com> References: <20220923112033.1958-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.178.55] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Except for the function build_initial_tok_table(), no token abbreviation is used elsewhere. $ cat scripts/kallsyms.c | grep tok | wc -l 33 $ cat scripts/kallsyms.c | grep token | wc -l 31 Here, it would be clearer to use the full name. Signed-off-by: Zhen Lei Reviewed-by: Petr Mladek --- scripts/kallsyms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index f18e6dfc68c5839..8caccc8f4a23703 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -525,7 +525,7 @@ static void forget_symbol(const unsigned char *symbol, int len) } /* do the initial token count */ -static void build_initial_tok_table(void) +static void build_initial_token_table(void) { unsigned int i; @@ -650,7 +650,7 @@ static void insert_real_symbols_in_table(void) static void optimize_token_table(void) { - build_initial_tok_table(); + build_initial_token_table(); insert_real_symbols_in_table(); -- 2.25.1