Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25663699rwd; Sun, 2 Jul 2023 22:28:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlHCoKS7rwqKelIhtoyYBhe8QR95uGvAWwEUrGy26b3ERMqrZvlHLgGHejPdg+1RKy6TH4K+ X-Received: by 2002:a17:903:1c5:b0:1b5:219a:cbbd with SMTP id e5-20020a17090301c500b001b5219acbbdmr12239934plh.3.1688362121370; Sun, 02 Jul 2023 22:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688362121; cv=none; d=google.com; s=arc-20160816; b=k5+CdyiP91poYUoLEzZQH/taYDvhWfS0XKDxJ2H25nXcd/ovgc+vucnZPMzP1Fge2D 1k/hTQ/FkKlRFNfkjCHPLD7hD17HK+QwGIJfXcneS4+PDUhuHCSLOHTe+xmq8KNBYg8V jvrshJIaf9kBFsDZTFE0rZsjhxK4ur4MjESEduV9f0GPV6lRyBmHwUL9UxMv/S+B+UPP JAm/FqSz+LSYSSE2ihHm87l8A4EOH5Kw1x4kKc5gG8S3u9Bjw7QKiSAn698rmf15M6TT +Ovfgjjij8XRLX0YRyB6k5BOf3OKFKUf5dANW0uZVw91HeSiR16ED60IfxdBpI2+VDAX nOPg== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=dDmn6qe7TB6AresuqlJhT42ag+yAB75SiFP9n+KKHMw=; fh=SC9qYt17FO8tl++1oZZEArw5OIA/gJmiJwlB5hTsmYo=; b=UD3Pi+sczI4hHK9gkd+PYi3bVQ8kQuWMs5xj+yQeJBMY9ODKwAPPT48eMS6iH09aOz /KUhe/QHLbSiiDBoPQz+pqYS/ptaBdrADz0kxxFTYgch1zMfdkoj5OaQ4IzJ3MC6WXdr SVf/7uwpTdpO/8WYjajN4zypmEdX4Re8B47E1UUMsNXSNXZ224TjGU92W03MRSnMDQbl ALTgrVTFKzIsR1iB5o8HALac5bjDyAUacUsd1NyMIMcCoRREdsBF0wmA94K/gjlhiC/q q807cHBd32j3jgeEorHLjCzsY065zhSDBgdcZOSkZwFihilJ5eLt4fxKEzWfTHuhn5cw l7Bw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 18-20020a170902ee5200b001b86e3129e2si6011806plo.9.2023.07.02.22.28.28; Sun, 02 Jul 2023 22:28:41 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbjGCFRX (ORCPT + 99 others); Mon, 3 Jul 2023 01:17:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbjGCFRV (ORCPT ); Mon, 3 Jul 2023 01:17:21 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEFA0A7; Sun, 2 Jul 2023 22:17:19 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4QvZ194LZxz4wqX; Mon, 3 Jul 2023 15:17:17 +1000 (AEST) From: Michael Ellerman To: Maninder Singh Cc: linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Onkarnath In-Reply-To: <20230529111337.352990-1-maninder1.s@samsung.com> References: <20230529111337.352990-1-maninder1.s@samsung.com> Subject: Re: [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size Message-Id: <168835696947.31199.7769783904677561364.b4-ty@ellerman.id.au> Date: Mon, 03 Jul 2023 14:02:49 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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, 29 May 2023 16:43:36 +0530, 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. > > [...] Patch 2 applied to powerpc/fixes. [2/2] powerpc/xmon: use KSYM_NAME_LEN in array size https://git.kernel.org/powerpc/c/719dfd5925e186e09a2a6f23016936ac436f3d78 cheers