Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4283365rwb; Sun, 13 Nov 2022 02:58:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf5HwyrDkT1QeHgBXp11ivkijYkMoMDeBgX85aLLqc/bM/YthfMquyNZi4syPmsmil+yMibA X-Received: by 2002:a17:906:53c7:b0:780:8144:a41f with SMTP id p7-20020a17090653c700b007808144a41fmr7568691ejo.189.1668337098604; 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=dNyfCdGk8aRN24ayvBIJaqqszqOmlWxYJe/Q/bAwIHYxGiPyy7ffAvHz1p5bTIAe/T ojefiLDm8PuAG3Xngm+VyNvQSHENcVfrXi3vJb4iACLHpUrd9EaYPqc4tNwgkOGTeMhc P7FsJpo4htTKGIrnwWhVXVsifdDUpa7mCXm3pnbdbvgblsNZZf3zOjXAMbI5ZzBEiYXs HduO4iC/oCls8kFOEu2xgN5zAmUsNga+YX+RNS7bFYPrMBunPD7WpmCOuhUtopcGjCa3 a48lQqzhdvZdopFo2E4UEBI304cLxQLMqKOBy/yxejyZYqFw+t3HrEm3YG//4Z0JV/pt 3hCg== 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=NeqM9J2FN5nzAF15i9urvdl4b/OYmN8bUVyjq9I/mEQ=; b=OgVI5uZRCE5remeVC+ZdvpSEyDQaLm5Q3/gTFj1I8deH3NcGMQMafuVu7QdkuQvc2P UBib9fNQQy5orcALpqZg18Fc8iSCe4xnemN5yngSm0/85Ife1XGZgRdwmIstoYeKQoFb h8xIn1i00xtQIlfpaLJIZS6ehGAJZiLSMiQlxC5jjA7515DLBo6gOT0+0v+pVxm+U1B7 eSg2wT7V5kYQLFKfnykdkMmkTZZG064PyeqrJt0xIzNg6CkNM/rXePfy5WlBMB6DwRJ6 MdxHF2e1WM0vD2Dk5xewexp/03I575og/YpaOvCGATf8GhzDQT527LWs/4DuJ7a0m5m1 EP5g== 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 z16-20020a1709060f1000b007806a130086si5525879eji.302.2022.11.13.02.57.50; 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 S235267AbiKMJqP (ORCPT + 89 others); Sun, 13 Nov 2022 04:46:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbiKMJqO (ORCPT ); Sun, 13 Nov 2022 04:46:14 -0500 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2A802218C; Sun, 13 Nov 2022 01:46:13 -0800 (PST) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 13 Nov 2022 17:41:10 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.167] Date: Sun, 13 Nov 2022 17:41:10 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: wangkailong@jari.cn To: catalin.marinas@arm.com, will@kernel.org, shuah@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] kselftest/arm64: 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: <777ce8ba.12e.184705d4211.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwCXq+G2u3BjgRsDAA--.82W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAEB2FEYx0DfwAWsz 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 Rml4IGZvbGxvd2luZyBjb2NjaWNoZWNrIHdhcm5pbmc6Cgp0b29scy90ZXN0aW5nL3NlbGZ0ZXN0 cy9hcm02NC9tdGUvY2hlY2tfbW1hcF9vcHRpb25zLmM6NjQ6MjQtMjU6CldBUk5JTkc6IFVzZSBB UlJBWV9TSVpFCnRvb2xzL3Rlc3Rpbmcvc2VsZnRlc3RzL2FybTY0L210ZS9jaGVja19tbWFwX29w dGlvbnMuYzo2NjoyMC0yMToKV0FSTklORzogVXNlIEFSUkFZX1NJWkUKdG9vbHMvdGVzdGluZy9z ZWxmdGVzdHMvYXJtNjQvbXRlL2NoZWNrX21tYXBfb3B0aW9ucy5jOjEzNToyNS0yN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