From nobody Tue Jun 9 21:14:15 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEA69C433EF for ; Thu, 12 May 2022 02:45:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242728AbiELCpJ (ORCPT ); Wed, 11 May 2022 22:45:09 -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-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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) =20 output_label("kallsyms_token_index"); for (i =3D 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"); } =20 --=20 2.18.2