Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4267237rwb; Sun, 13 Nov 2022 02:29:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf6u+9McPTnwdHAFhibP7ZgO1FSn+a3GND2hAZdn945YXXpxbQmGm0pHG5j8hw7C7dAyhFgS X-Received: by 2002:aa7:9433:0:b0:56e:28b1:56a3 with SMTP id y19-20020aa79433000000b0056e28b156a3mr9742224pfo.43.1668335389018; Sun, 13 Nov 2022 02:29:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668335389; cv=none; d=google.com; s=arc-20160816; b=Es3AIKPssytkYrcOuNYqIz6wZvWae1FjuqjbuGwfuKs7xpDl4fDwIf1JkebywuEo0t 19rt2udVfFvGPezxrRxdOijEgx1VlrqmUY+dnsm21gjvh5D9CCVhC2rLv20GrhRTK/pV I7b4Kj7BWc3uZvxGYs6Jek8C864OE0LHAKIRQlSw1/nG3thAkvmJTEeDf6zHQJJopohT U2QTU/Ck6+dZ7s/ea8n3b2x/olFJG04/xDaHDjAguVQuQ38CTwpZj9XIuxD1tATPt/Bu nWYEfS4ywtcUXCZBpZgg8tLmU5ui2s8LtoCKTf9htszHnNMGCD7pJsATgF7gVmsqavWq QoSg== 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:to:from:date; bh=vYEKyDgrwG8Z67sFhU3vbSZQgRfcSIU/cQjhAGZlRFw=; b=N8lcJ/lIFZGSUGobMGk5PesGLJbGroGKn+LEZaH2YQYaEu+zaDQeaVrHrDdrVlhmLq eMXxKTSlwkrJXbbBWRLjZbSEnwKmyS8vpOh2dodysoGhuzMspRZfsnIeL59vIKhFxtg+ 6W2TSgaFOGQntlDsyp9r4jmO2+VDFSnmMe/caDw5pT5I+r7HmTnxRcvkjY0cyTfqLOys XDiqYKBJeAdwvvJ1iW6j7elbdpPQMHbFP52oFN9D1I7KnTpaKTpnCOzcSE1nzc9gIgO/ TZJa3W5+l+yn1XZhqJOrWtmle6dQ7wxifI9lWXMEEkBo801DIqrMJc8vMhzgp/lKtudg djUw== 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 go10-20020a17090b03ca00b001fd7ced8960si11394225pjb.92.2022.11.13.02.29.33; Sun, 13 Nov 2022 02:29:49 -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 S235085AbiKMKK5 (ORCPT + 90 others); Sun, 13 Nov 2022 05:10:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbiKMKK4 (ORCPT ); Sun, 13 Nov 2022 05:10:56 -0500 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 92F3D5FD7 for ; Sun, 13 Nov 2022 02:10:55 -0800 (PST) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 13 Nov 2022 18:05:59 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.167] Date: Sun, 13 Nov 2022 18:05:59 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: wangkailong@jari.cn To: linux-kernel@vger.kernel.org Subject: [PATCH] tools: 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: <4146c8ae.131.1847073f91a.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwB3jOKHwXBjvx0DAA--.80W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAEB2FEYx0DfwAfs6 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 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 Rml4IGZvbGxvd2luZyBjb2NjaWNoZWNrIHdhcm5pbmc6Cgp0b29scy91c2IvZmZzLWFpby1leGFt cGxlL211bHRpYnVmZi9kZXZpY2VfYXBwL2Fpb19tdWx0aWJ1ZmYuYzoyOTk6MjktMzA6CldBUk5J Tkc6IFVzZSBBUlJBWV9TSVpFCnRvb2xzL3VzYi9mZnMtYWlvLWV4YW1wbGUvbXVsdGlidWZmL2Rl dmljZV9hcHAvYWlvX211bHRpYnVmZi5jOjMyNzozMC0zMToKV0FSTklORzogVXNlIEFSUkFZX1NJ WkUKdG9vbHMvdXNiL2Zmcy1haW8tZXhhbXBsZS9tdWx0aWJ1ZmYvZGV2aWNlX2FwcC9haW9fbXVs dGlidWZmLmM6MzY3OjM4LTM5OgpXQVJOSU5HOiBVc2UgQVJSQVl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