Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4283366rwb; Sun, 13 Nov 2022 02:58:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf7yYW8ax3wkbBGXjjsaqx5UeLwF0oyz7+59YS0JrQyo0PEyYU/XdArxS3tv9iQOZpE2VgVp X-Received: by 2002:a17:906:6581:b0:7ac:2e16:eb05 with SMTP id x1-20020a170906658100b007ac2e16eb05mr7769662ejn.26.1668337098605; Sun, 13 Nov 2022 02:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668337098; cv=none; d=google.com; s=arc-20160816; b=b8l5DgAFqU2sQ4rlL+r9orebvVhQcTmYp5fg62jOUyoeIujWoaKnI7aOoSqUfwouPd 9WBYS3mjDYZdmGhs1VDWQyoDttlMnMrmOEuirTC7HisXUDe5+OsNvJoJwJrxBBjqIgA4 Zfd6z32qNadf3P3N8Ah1OCH5ScI1Bm/DEnmN7jjaHY/ociNBjjecxw34Mafd/JDOnCvY kcUIFulZrzfRJNlvAs9SDWux5TWcPFSSseOxSNiRFfIXDFHSnW3QGbtGnBWR0bZJqC5B 0u/seD69ViLhrnDUZGB3f0FoDJPhb5zJ8Nq+QT+9+qHh+J9Dsh4MwJytQsocBg6TgLaM SKBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=AZsFMF2U2+MLxGdAt4lGkJQpphYgfZ4gq4itdMQcYv8=; b=ShBKKT+SpKS2oAPYGqLBKteczkyiqLJ79Op6Q91ugyQ3OmTnXHQxyUHIX3eR+hYUig 9KGbNlQxt5OESJCxMw9PIJIgsiXW/+cP6gZ6bW/TsszBKXjQmsnYM6yYLsKN+dr+aUXI Fp1c1evt8XR0y+yKBrD6fJm7skdtADe7p/oAFGRIDp/Uv3+e73a+M61jaihnenBHhUOu 3PmhwD9HygqCRu+7GTWVA4uAmVONpeMsdadFyj1hBm2g+xzyfRpZkL5dRl2r2uYv5DcY YYNwQ+3BzsWrvRIfgygqLxjqToYkUMI9tfr0xA9WNDYpYXh3icrR7RrVlkla7tTi4TI+ U7Hg== 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 b7-20020a509f07000000b0045d9a3adf19si7484140edf.564.2022.11.13.02.57.48; Sun, 13 Nov 2022 02:58:18 -0800 (PST) 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 S235215AbiKMJe5 (ORCPT + 89 others); Sun, 13 Nov 2022 04:34:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbiKMJey (ORCPT ); Sun, 13 Nov 2022 04:34:54 -0500 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5D8BFD49; Sun, 13 Nov 2022 01:34:53 -0800 (PST) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 13 Nov 2022 17:29:50 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.167] Date: Sun, 13 Nov 2022 17:29:50 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: wangkailong@jari.cn To: masahiroy@kernel.org, michal.lkml@markovi.net, ndesaulniers@google.com Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: fix array_size.cocci warning X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT6.0.1 build 20210329(c53f3fee) Copyright (c) 2002-2022 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <4d274d11.12d.1847052e009.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwB3jOIOuXBjwBoDAA--.79W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAEB2FEYx0DfwATs2 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_PBL,RDNS_NONE, T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 Rml4IGZvbGxvd2luZyBjb2NjaWNoZWNrIHdhcm5pbmc6CgpzY3JpcHRzL21vZC9zdW12ZXJzaW9u LmM6MjE5OjQ4LTQ5OiBXQVJOSU5HOiBVc2UgQVJSQVlfU0laRQpzY3JpcHRzL21vZC9zdW12ZXJz aW9uLmM6MTU2OjQ4LTQ5OiBXQVJOSU5HOiBVc2UgQVJSQVlfU0laRQoKU2lnbmVkLW9mZi1ieTog S2FpTG9uZyBXYW5nIDx3YW5na2FpbG9uZ0BqYXJpLmNuPgotLS0KIHNjcmlwdHMvbW9kL3N1bXZl cnNpb24uYyB8IDQgKystLQogMSBmaWxlIGNoYW5nZWQsIDIgaW5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