Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1014531iob; Fri, 13 May 2022 19:40:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzARjX5Br9bZc3aR2Ljm34Fkpq+Wf6TG2IubR5NScYdLb7nN3Y4wSMDLKzXDzfQZWvTPSxi X-Received: by 2002:a05:6000:1f8d:b0:20c:dc4b:3f95 with SMTP id bw13-20020a0560001f8d00b0020cdc4b3f95mr6069638wrb.659.1652496054030; Fri, 13 May 2022 19:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652496054; cv=none; d=google.com; s=arc-20160816; b=AVoXax8BxfPbs/ycUaBZ6mll0jM/7wMCGQ7kz0BHA9bf1DDbCsPEPX/0Zfv6em8MyG FiEscLAA50fE8xUjWoQECTxwFFpuKOrGlOBvQFp3x5jUCsK5gdqrmJw9CUttVzy8zWQj q2DH3sV8fVSYRDZ8nTmMVA/VYPJx1V6DuuTo3VJpSPlslQlCwGGaECyPmRb57zUp3qbw 5VRnDghb8hCVbfAUXY76Q6BLG7S8feb1ZQ1UpdnhYwSFVk8JygrLgjnTqSrUpLHgCoYR z1e+okIQ913U43qBD6U+NmtDb530TcFQd3JkVmQNUyEvW1y+E2BtW7NROebG7U0cTOqf /d0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=Nw8mCEFAKEwL2z7ChX7exeK+vGws7RsnoSj1tGP/OLI=; b=GUG9hpTTuGZvMG0TjyAoQuCpDNSYwuM3DvhOrkjMbfz/RUvdWd06GLY1H9fZq7RuyY uZwY0V/FKJi+NCmRYg+aJpIpUUVwhO3yOtFPy2Ap+bSTfv/vnHWQdfJL+yyfEFI6uf61 eSDxrxMMgfBwd4QoS7pGUm8Fod02Q+eA8WlNJUvY+T8+MYtyeKC5i8tnMZHPkxjgo4TJ mEOZtvba6iLSltesWYTsVyQfAxQsYiSgFQQGuMZiKzUL5MY07baAxShsWuqhpBlAEi0y 2Voex97S9+/3fpb7K7QYFxRZFRLxLe3n1LDDCOjctRXdmujau9JUSuoH91qlEUZcn9xG jT/Q== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j12-20020adfea4c000000b0020c622c0618si3440902wrn.322.2022.05.13.19.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:40:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38AF85013E5; Fri, 13 May 2022 17:51:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241685AbiELCpI (ORCPT + 99 others); Wed, 11 May 2022 22:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiELCpH (ORCPT ); Wed, 11 May 2022 22:45:07 -0400 Received: from localhost.localdomain (unknown [219.141.250.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CC0A712C8 for ; Wed, 11 May 2022 19:45:03 -0700 (PDT) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 24C2csSs004024 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 12 May 2022 10:38:54 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 24C2crsE004023; Thu, 12 May 2022 10:38:53 +0800 Date: Thu, 12 May 2022 10:38:53 +0800 From: Dong Chuanjian To: Masahiro Yamada , Nathan Chancellor , Changbin Du , Nick Desaulniers Cc: linux-kernel@vger.kernel.org Subject: [PATCH] scripts:force conversion argument type Message-ID: <20220512023853.GA4018@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 scripts:force conversion argument type Signed-off-by: Dong Chuanjian --- scripts/kallsyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 8caabddf817c..544ab1e1b5ca 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -498,7 +498,7 @@ static void write_src(void) output_label("kallsyms_token_index"); for (i = 0; i < 256; i++) - printf("\t.short\t%d\n", best_idx[i]); + printf("\t.short\t%d\n", (int)best_idx[i]); printf("\n"); } -- 2.18.2