Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp704718rwb; Wed, 28 Sep 2022 08:07:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5xmTa/eWWlXGnBckdVZuhUkXjdvPxl6EsNJGdpIt1Ol5dE7euDYR790jl4t5A0BNupvT09 X-Received: by 2002:a05:6a00:2314:b0:546:ce91:89a3 with SMTP id h20-20020a056a00231400b00546ce9189a3mr34717802pfh.77.1664377640093; Wed, 28 Sep 2022 08:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664377640; cv=none; d=google.com; s=arc-20160816; b=N7+QBsRnSrpeHscYTi30Nb4wsm1IuUMYwZwZKo0M2N+QOd2ER2dCzoam+8uOS2zaki Vk8yXHpvhJvmq8F+tq6o3/ohmKNR1ddh1sHLfOyRn2b/fnpaJwbYC7bH/38d6Ee4f3SQ YwF+ZjU5jHPHY137bYGmEvCUguGR077vTlNlXJyMviFfV/w2D/7V0Odtn+G1EJEXQzR7 LaI6v1WCRBF1X0HROiGuhB1QqaYalcRn9UBUTWUV48wSCFhcPQPn4aDBW95Hf3WqGycG UxvIIIGW/uI4PB1QSL4yIieQzEe2fFyJwvFOdUDqPKJwWs/lhKAGBGRuTl6yiF4O0Kb1 nqIQ== 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; bh=4bbjkrUOljrgmRoZno24QNrvhVLTbzBU814ynKHACuc=; b=YlBtinOzzBrRGbxC2QM07TnLSzwSqLpazP4AoNYtycf7zFsSbSOXJfT7pEofM6N2Qg f1sfJxTTENXlR6NPgQvnff5q9Nmw6bblSW1QHhgmJ2GuVrDUO85V5j7ch8i0vGhmeijm XrdnLDQeRR4UdFrldBl7Rn81DtTOrXblfI9fuCBDAS8kzy3HHcKqEiT23yGIIUGZx8Nw kQASQ400uJTG6UidykDx53EcjTqSPLThVRKYeh0V6c9Ge5KL44IOTCoiyP9aHPjXKOyB pX4JZHb/NtpWafQBoEfj6SLTmzjjWxpZL5aXhbn8kGvsO08oRkDnaXCxwXvNAlc+KBZO r97g== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u66-20020a626045000000b005397c4ad9e1si2799284pfb.134.2022.09.28.08.07.05; Wed, 28 Sep 2022 08:07:20 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234266AbiI1O7V (ORCPT + 99 others); Wed, 28 Sep 2022 10:59:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234573AbiI1O7P (ORCPT ); Wed, 28 Sep 2022 10:59:15 -0400 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 294DBA6C3B; Wed, 28 Sep 2022 07:59:00 -0700 (PDT) Received: by mail-wr1-f53.google.com with SMTP id r6so2934626wru.8; Wed, 28 Sep 2022 07:58:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=4bbjkrUOljrgmRoZno24QNrvhVLTbzBU814ynKHACuc=; b=gxla6/79gyFBi9rUERJnRrwrOFr5VSzU3ilbIOCbMqvvWiOtc6qI71XuM2+zBxabdb XlfzqtKD0Uw0OsnJS+rOhW+PBstA3MTIrMtn1xCkvLuuS2RRUe/sN6KnuGEtG7ebSGPo lcS+N4eAB5lwmrECLrufOMXtYz6oJi0XBgYm7VW/+8us7dX09Ofl7+zKNWzaekT6GTfs XTlWEjmPn8fxkUQ6nUKRwb/cw8fNZ1PYkXgIFhGfpzUSdJf9Gv87dqvHqBRRHEsO2bkH 6ALkatQqKUZGQxudE7qN5mHwKobDMDnZP6XNt9H8G1mh44N9HX9TlgEXioJrac9vtptu NaBA== X-Gm-Message-State: ACrzQf1qK56Qkl2EG5Ns1vCfnmZxKtFxt8UADTC/sJIt55qATowTz13K 9MoPKgjYcrxtBIZCq5yVC+MB1okOydQ= X-Received: by 2002:a05:6000:1565:b0:22c:8da7:3cf8 with SMTP id 5-20020a056000156500b0022c8da73cf8mr15576161wrz.688.1664377138583; Wed, 28 Sep 2022 07:58:58 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id m21-20020a05600c4f5500b003a5f54e3bbbsm2206752wmq.38.2022.09.28.07.58.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 07:58:58 -0700 (PDT) Date: Wed, 28 Sep 2022 14:58:56 +0000 From: Wei Liu To: Miguel Ojeda Cc: Linus Torvalds , Greg Kroah-Hartman , 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 , Wei Liu 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=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 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 Reviewed-by: Wei Liu