Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp711478rwd; Wed, 31 May 2023 04:31:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Dfl4QEZrzUPpaqiEdZC/j4674OZvqtHm755F0EHkQoFyt8dIMW3u9YxIVN3ID3/z2Ah3b X-Received: by 2002:a17:902:d50e:b0:1b0:10a1:3da9 with SMTP id b14-20020a170902d50e00b001b010a13da9mr5724138plg.32.1685532705242; Wed, 31 May 2023 04:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685532705; cv=none; d=google.com; s=arc-20160816; b=RN40kV94YZZEmunxbPMUCT6NqZuIKwdLeNxOFUh9YMDkF5uWk60P50pC4uMgQUFYmm kjjm0Q7vDKCwqjUGPPLQnm3J67g//s1h3sX5ya5tqNPvtCsJ8Zd9qGnFhoHRToHhHR/d BkjB1Do/pMFpuJ4VpY3q365MvOpECEq6vw0S3G1TfPbF543L9/9lgcMmp7dDy3WoPp8s EHQIxCrRt6wNU6Wzh67pBGj0L1y7mlo9nGVsbRYefQsDpcjST5htr2qpyXHtEzRsFh4n g4SwNh8Q48E9n/RkvZiU2MPhGN4oITMCztgImC+t+35K+TazgQYzT113Ew03qiPTTWbG YlNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=DIDltuMm4MHWh/rnXH88OK5/1UOfjCjAO5r+2VqC69U=; b=fbktZY9MlMF1SEnZD3NzwlfVkLllDJb8XMp6Y6RhWeeJUL7+0NeOpIptekuvKq5nzB waSv+8dvl1VT9rGgd4BVi4M/SLdmHCvYy0lauBcyW73KCmcuKoEPiaFh5T+tydCunL2O MW8VYv9ti2qV0GVXdpeZGfr1POU2lNL87YIhCgZRX7/mHVZUWcUUjClCAZEm7cc9aAGt E7dEAUasdVE6hGgy4YQ87VKwK+ZgD3TcOfGOkoEuxfeF8IH1jQykh3n49JEJci5cBNvJ kh28elk1bphAW7QDfXtk+Ix/nbo0/TAFJKbjSHwTJgpNLVUmR5Yv33mvv91S+l29UOWZ buzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kKhfu7Km; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w3-20020a170902e88300b001a6e98a5f21si708118plg.586.2023.05.31.04.31.31; Wed, 31 May 2023 04:31:45 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kKhfu7Km; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235334AbjEaLK1 (ORCPT + 99 others); Wed, 31 May 2023 07:10:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232263AbjEaLKX (ORCPT ); Wed, 31 May 2023 07:10:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50609E8; Wed, 31 May 2023 04:10:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DC31C63538; Wed, 31 May 2023 11:10:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3C4EDC4339B; Wed, 31 May 2023 11:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685531421; bh=HPyxuv+32mzuFbyIZZQ67hhRqs4/0tjF0wvqYmuefj0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=kKhfu7Kmopcc58c7cdqLZA/bGu0gprPRt+0DkCKWv0KSnyX9DAU3og8QflYksObev PiEAUreCCuLbyKlrE4K2PUx/p/DfAwfqhjDKgCJKV04VkUvm9UJMQRAFPMt2Zf8+87 s7dHrVcLzf4D1YmRB93lxtFpDnBLZ/AbvjvZmojyOs1uFzgDtSBd/ldFakMV73LRlV ruIFkwUxfw5YmiCONF0eBdRs364pPwo5LQiE0hXGIpPDnlyiltEQTBPxygfBidGHjY P+7RSNchvGVfAIrjFjnPrPU9TtRS2YRRILcordrk376P3fXUVVZ8e2XI5ZCB5Aw986 VWW4rh1isQ7Dw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 23011E52C03; Wed, 31 May 2023 11:10:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] bpf/tests: Use struct_size() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168553142113.8778.17191708621111165063.git-patchwork-notify@kernel.org> Date: Wed, 31 May 2023 11:10:21 +0000 References: <20230531043251.989312-1-suhui@nfschina.com> In-Reply-To: <20230531043251.989312-1-suhui@nfschina.com> To: Su Hui Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann : On Wed, 31 May 2023 12:32:51 +0800 you wrote: > Use struct_size() instead of hand writing it. > This is less verbose and more informative. > > Signed-off-by: Su Hui > --- > lib/test_bpf.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Here is the summary with links: - bpf/tests: Use struct_size() https://git.kernel.org/bpf/bpf-next/c/0d2da4b595d0 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html