Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4229932rwd; Tue, 30 May 2023 02:16:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5SORPWA4nhbfNtMEHf6LprNOBa/dZbJa45/JXnIVYKZpHQFq+rwGDbQgzstdB8FfBsplno X-Received: by 2002:a17:902:7489:b0:1b0:1036:608c with SMTP id h9-20020a170902748900b001b01036608cmr1764589pll.25.1685438191951; Tue, 30 May 2023 02:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685438191; cv=none; d=google.com; s=arc-20160816; b=hjcACxWCKSzt9EScemFeeKRBRqXNAvN7qoQNfHJnSpIAhcpOwwsvuuUWKrRPdaYxa4 VNMQk9ao0Yxyh2/w+P1euItn7RxDRrz3Y7a6BVHe1vKP/i4fXHZP/rUE/KkEPFUD2lWd 69IN++h5inEtnDp0aWBCAyEbDcugsJMIAUQbT65a1DL+pfSDox3mrdkFNEDCNBEwJnoj msCvjK2qHO0iIBsbXxTPHqsIrgKb1eWGpd+n8gJJVkezWI4Fvtbck8Lp0zuLcQX5TG25 Tny4gZpzUICQU8pHPmAmmE2qy2dAjF/ej49ARBrg+IFS1IkbCOTaPrWDrYuQKGhB2YCt vJtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=G22ruJ68JY2gjnCl3J/tk16VWb8N9hrSL5V+P1DY8aw=; b=OpPzyaJbFruR6iibzRz1xl+RsrypIm/dT4f45jdMnywhsunrpQHxqePzv4p9q0+FIE Y1W9kZ2lU6MBai0veedsmbe/RClQUGyo4GBXICZHTx99VDJ0DSVJgYdAmjx2mLbcQLVL uFeqT4rx3beYDwLCrk67xnX2dzF3kwINrhkGDwliOoj4X6PpFMQQFLnypjbd910FiIpY VEDh9NG7elpXK3e4zlFGPPdWMmLBGRbuExaUjwnhaMRJfq6/7FHrecYgQzB8zZCWgTQQ rpbn0Q1yMJN1e7d7WkuW+udZ0v3TLGXjFxI5SPd8yCHHGkO1IFegoAYxMc9X5R5nqab8 PJMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=spkBo6ke; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a170903018a00b001ac59bc1c20si139290plg.47.2023.05.30.02.16.19; Tue, 30 May 2023 02:16:31 -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; dkim=pass header.i=@suse.com header.s=susede1 header.b=spkBo6ke; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230353AbjE3I7Y (ORCPT + 99 others); Tue, 30 May 2023 04:59:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbjE3I7U (ORCPT ); Tue, 30 May 2023 04:59:20 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8C71BE; Tue, 30 May 2023 01:59:18 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 91EE81F8D9; Tue, 30 May 2023 08:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1685437157; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=G22ruJ68JY2gjnCl3J/tk16VWb8N9hrSL5V+P1DY8aw=; b=spkBo6kek5HXdJ+Ps51CIj7ivCB0CzLzZ+qf2jaG3s+TPpMFEjTLYiFju5XMlrBwFA1K0E ec6IB2UKXhlGjyv9V3BGLpIWjbbNQyPzkn3ch1fhUERosZ5blbavla1uiDgDtAG4BNJSfo LIQKkwdK7g7X9Ap82aOyzpqYy8KIGbg= Received: from suse.cz (unknown [10.100.201.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 12E3B2C141; Tue, 30 May 2023 08:59:17 +0000 (UTC) Date: Tue, 30 May 2023 10:59:16 +0200 From: Petr Mladek To: Maninder Singh Cc: bcain@quicinc.com, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, keescook@chromium.org, nathanl@linux.ibm.com, ustavoars@kernel.org, alex.gaynor@gmail.com, gary@garyguo.net, ojeda@kernel.org, wedsonaf@google.com, linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Onkarnath Subject: Re: [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size Message-ID: References: <20230529111337.352990-1-maninder1.s@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230529111337.352990-1-maninder1.s@samsung.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Mon 2023-05-29 16:43:36, Maninder Singh wrote: > kallsyms_lookup which in turn calls for kallsyms_lookup_buildid() > writes on index "KSYM_NAME_LEN - 1". > > Thus array size should be KSYM_NAME_LEN. > > for hexagon it was defined as "128" directly. > and commit '61968dbc2d5d' changed define value to 512, > So both were missed to update with new size. > > Fixes: 61968dbc2d5d ("kallsyms: increase maximum kernel symbol length to 512") As mentioned by Michael Ellerman for the 2nd patch, the right upstream commit is: b8a94bfb3395 ("kallsyms: increase maximum kernel symbol length to 512") > Co-developed-by: Onkarnath > Signed-off-by: Onkarnath > Signed-off-by: Maninder Singh With the updated commit hash: Reviewed-by: Petr Mladek Best Regards, Petr