Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1066364rwb; Tue, 27 Sep 2022 08:02:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7KHqDYMQT75MZl8ybn5OgsmNMq/j4jt7UiKNRBV1UdU75JYhhACTQWB18HviQK6kLurHD4 X-Received: by 2002:a17:907:2c75:b0:77c:2b6a:6b63 with SMTP id ib21-20020a1709072c7500b0077c2b6a6b63mr23849013ejc.702.1664290973254; Tue, 27 Sep 2022 08:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664290973; cv=none; d=google.com; s=arc-20160816; b=kFa8V4d2XIW0ON3m7Rm+DkX80L0atTy1hYKc832VmDka57SiquuqC7ayBcZEm+L0xA WGAXPJX+L772fx6YahLgZ5h7/F6Rnm57Jw782GHuI8BCrcKW5X7ro/iZ0vKWp7ltX49i 2vxJjghsrlHrjCIzY2y6iLkPWLqKDSlnx9xqp8shzJtBCt7UP+zSJ0e3yI2z6a1SyZUc 6pNqyn2V9xR0GCykyjvf5uPd1w2tUSxt1aLFWA0ZodMX2ZwqQh63RhGIXts1QA2dQnVx 8o3Jf/wuDVtddNki22izi1So5mXH9xGBcDM6tuEMb9oU22IamfqX2JV6SLRRqJiyFUyQ FrJw== 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=S6jJemV3rsu1r2+a/bY+Wc/b4NKWuj0n8K9YcxVCy9k=; b=houB5BfqdrAefYXj8XOvKtX7v9wwZrcuPeTZtvaDG9BCNnzAns0Y8qq3c8nSTjP/3j GpfhxKH953xnMn5fsRxUNCHsoFOKpMxYBcAS0QbN3bjXOgg7QWm3qCjjxQvvYd5b41Ey kFeYQUiYxVsKfMDSWs9zxLi/LjSsOJ80Vs16PnD/iV7Ek+0TBFvA6qzY5/+fpSN7KXg2 Nt4uCOAz16+a/AEHxkiaNp3+qj7XmVS4zN60/n/hdm4cSH16B4HCjbho9TL3fkcEbBTa +4Xm5HTO7oWiupzPmLp/IXnmhhnbAhrPbJwJZdb7Tx7WNEwMHLDAPVUWJlJ8KNECLWCR /+uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LlZiJ4qY; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a170906500400b007813519e248si1353048ejj.643.2022.09.27.08.02.25; Tue, 27 Sep 2022 08:02:53 -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=@linuxfoundation.org header.s=korg header.b=LlZiJ4qY; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231986AbiI0OxY (ORCPT + 99 others); Tue, 27 Sep 2022 10:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232754AbiI0Ow5 (ORCPT ); Tue, 27 Sep 2022 10:52:57 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F9034199C; Tue, 27 Sep 2022 07:51:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 098B3CE19A9; Tue, 27 Sep 2022 14:51:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0001DC433C1; Tue, 27 Sep 2022 14:51:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664290278; bh=TUI2vY0GcI+g0Kd0i6XohCJSFPp7CBvJcwNd96s8s38=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LlZiJ4qYXxC4ez7DpTkBYW516ZQnlJFjLSK4jfZUOByay98IA7t5xsmIynXGygXQe AlFIUAjTy4NPR8v9uPPT/4tFjJqgWMJaCzhc94WfhdM74Kf7R+0ito1h6x/nTr/Etv jONPSgpTPeXNWL6cT2llYg/fbzCtVNXCrZe2HTeg= Date: Tue, 27 Sep 2022 16:51:15 +0200 From: Greg Kroah-Hartman To: Miguel Ojeda Cc: Linus Torvalds , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Boqun Feng , Kees Cook Subject: Re: [PATCH v10 01/27] kallsyms: use `ARRAY_SIZE` instead of hardcoded size Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-2-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927131518.30000-2-ojeda@kernel.org> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Tue, Sep 27, 2022 at 03:14:32PM +0200, Miguel Ojeda wrote: > From: Boqun Feng > > This removes one place where the `500` constant is hardcoded. > > Reviewed-by: Kees Cook > Signed-off-by: Boqun Feng > Co-developed-by: Miguel Ojeda > Signed-off-by: Miguel Ojeda > --- > scripts/kallsyms.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Greg Kroah-Hartman