Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4270936rwb; Sun, 13 Nov 2022 02:35:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf5e6dczhnieieCwLj1cyT+bbONrLP+XT+pvcy9yB70ZUyoP+q6CVimd9k3MTliZQxV2srrV X-Received: by 2002:a17:90a:804c:b0:20d:d531:97cc with SMTP id e12-20020a17090a804c00b0020dd53197ccmr9620521pjw.164.1668335727770; Sun, 13 Nov 2022 02:35:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668335727; cv=none; d=google.com; s=arc-20160816; b=Z6Rhekcc3QuNNTKSfcCPVdfpbllG5/oDlm60bdY74w0IfDr06WQ3dGCFYpgJRn+cMA vdFraI2VKISZBSE0ai6BDLUXgO7Vw58c+U2VOUJo/ZeY2mD6w4ydcoEWVlCVOd8TTHXl SH/dvg9yUqR+ahQ5CpksS+dZt4Eg/EMmjuhJSjw8wStxO3I9GWeOjMKHHo2I9bEnggRC /xsXG7CLtyjaxPjYLOX7ylijZnUGT8bVy1fbbWWWd3fIRJwH1XkdDCGUV+Po8cnfYNS3 h20FVJiW+fMW8Szt3HLuupUO7WucSZg2N2r8TTolFCrA7d6lbadNwYxISaL0vkM6Toou tbtw== 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=pCHJTOWbsnd/UePszIat1+y/N6O4NSDjsq51g9XBxus=; b=d5uf6it399CjXPwC/fD/ohEmtGMSEWy4+93dVexEy01Yw7mSSTLCvj3ygGlIHvl9uL V2t63YBmWAbqn3Ajxpn65l1a4rW3kXcY3/Ob53raYTUJY95OXiab3J/2KWGpT6J0wV6n eZCfeBHyr3BUUfpGSrFD4Jc9oem3VZDOrEvSg5u+u8XPC1F6+h/f2Yu+XFsEwnmj3OSy 7ycv76IStioP3WFlsIPR3N4LVVWV5qEoR0gpfE9nuKv0uJ+F97NrB6/5W8J+Zgdhru++ Al0aYZO8XcRvVij6pUTr1ROWumAwS2bkYhYt6T+csoUvI61Pl27Ge5PlT9Xx6cMMWpwa JggQ== 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 s64-20020a632c43000000b00434f938b9efsi7833178pgs.4.2022.11.13.02.35.15; Sun, 13 Nov 2022 02:35:27 -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 S235097AbiKMJzn (ORCPT + 90 others); Sun, 13 Nov 2022 04:55:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbiKMJzk (ORCPT ); Sun, 13 Nov 2022 04:55:40 -0500 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C7B23E009; Sun, 13 Nov 2022 01:55:39 -0800 (PST) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 13 Nov 2022 17:50:30 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.167] Date: Sun, 13 Nov 2022 17:50:30 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: wangkailong@jari.cn To: robert.moore@intel.com, rafael.j.wysocki@intel.com, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, devel@acpica.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPICA: 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: <3701ca18.12f.1847065cd7e.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3C+LmvXBj4BsDAA--.83W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAEB2FEYx0DfwAZs8 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 Rml4IGZvbGxvd2luZyBjb2NjaWNoZWNrIHdhcm5pbmc6Cgpkcml2ZXJzL2FjcGkvYWNwaWNhL3Ri ZmFkdC5jOjEwNzoyNy0yODogV0FSTklORzogVXNlIEFSUkFZX1NJWkUKZHJpdmVycy9hY3BpL2Fj cGljYS90YmZhZHQuYzoxMzc6MzAtMzE6IFdBUk5JTkc6IFVzZSBBUlJBWV9TSVpFCgpTaWduZWQt b2ZmLWJ5OiBLYWlMb25nIFdhbmcgPHdhbmdrYWlsb25nQGphcmkuY24+Ci0tLQogZHJpdmVycy9h Y3BpL2FjcGljYS90YmZhZHQuYyB8IDggKystLS0tLS0KIDEgZmlsZSBjaGFu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