Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4285609rwb; Sun, 13 Nov 2022 03:01:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf4PI1kRGKdwpybx1Wx3y9HDHw/LUbiJb5W4Usij6VJ2F2YvpJJKWhv4bj9nV10NkCUBuxLa X-Received: by 2002:aa7:db46:0:b0:459:278b:7a8b with SMTP id n6-20020aa7db46000000b00459278b7a8bmr7637565edt.355.1668337286044; Sun, 13 Nov 2022 03:01:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668337286; cv=none; d=google.com; s=arc-20160816; b=LY0fZp5V2gJ39uAO+GfhdkEylPdZZvkK6hX69smd79iWVa06BneNNl3YXCxOez5c2/ oHyYzsiXkj+22cp6OBQYSSUHT5hazYZkhBjxzYy/k0G/IWnQLLcVHAGAzSekFkZ+leTV 00JKesD0waMHXxSwiP4FSjXATlGajc5a+HPvMly67B7E+fQYaWzEoofPufdptqUs3gIJ QEFqbjSDE9sYT7aHBKeWygJuZ9GXvl/Jdo/n//lNro1MIDugI1A9cu3Iok+a6MZbdhF8 G/PaMR83yghqlh8Oryh4IeMdHNJGvVlf2tpatdQwxRWeixOCXpTtknHQTI4NoaYLGtBW DbkA== 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=gRlV938spXVtoECNctXgHod5EeecJHEXqvR9Py5QSLA=; b=KS4VYIr7jjJiPqJXeh0a37fgjoJYYI0zs88uCWrbvsb53HJWSh/Lj+UTttuYowmDv0 3kRM9QynJ2cv0GdyuSW9gw4ez/nzDLM60hTbiKWnSpPnrWgBeGhfA5n1/LwKBelDpEiz MKM2L9YkKOs5K/8uWrjLrjbVzN2AsY3lMUI2np/JDqJ4KuB4lZkLBvCxbEkDPUTwmvvq mVeaqF4N00S53yhuJeDRbTcFELMQ2njqFPOHSNdDPwDOy+LdHWdGl+mVKa/+UDaa6MiZ VASfL5/mSHWMhXnaiuwh2UuQ9L69Rs4LPYamTjC21UsmabxYy2IhFtv9Lo8kq02zGysT 0UAw== 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 mp23-20020a1709071b1700b007801a197a1bsi1530585ejc.449.2022.11.13.03.01.03; Sun, 13 Nov 2022 03:01:26 -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 S235185AbiKMKDf (ORCPT + 89 others); Sun, 13 Nov 2022 05:03:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbiKMKDd (ORCPT ); Sun, 13 Nov 2022 05:03:33 -0500 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2E0735F40; Sun, 13 Nov 2022 02:03:31 -0800 (PST) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 13 Nov 2022 17:58:36 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.167] Date: Sun, 13 Nov 2022 17:58:36 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: wangkailong@jari.cn To: linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: [PATCH] samples/seccomp: 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: <2b3f2420.130.184706d34e6.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwCnu+HMv3BjEh0DAA--.78W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAEB2FEYx0DfwAds4 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 Rml4IGZvbGxvd2luZyBjb2NjaWNoZWNrIHdhcm5pbmc6CgpzYW1wbGVzL3NlY2NvbXAvYnBmLWZh bmN5LmM6ODM6MzktNDA6IFdBUk5JTkc6IFVzZSBBUlJBWV9TSVpFCnNhbXBsZXMvc2VjY29tcC9i cGYtZmFuY3kuYzo4Njo0NC00NTogV0FSTklORzogVXNlIEFSUkFZX1NJWkUKClNpZ25lZC1vZmYt Ynk6IEthaUxvbmcgV2FuZyA8d2FuZ2thaWxvbmdAamFyaS5jbj4KLS0tCiBzYW1wbGVzL3NlY2Nv bXAvYnBmLWZhbmN5LmMgfCA0ICsrLS0KIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKyks IDIgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvc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