Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7845387ybl; Thu, 16 Jan 2020 06:34:55 -0800 (PST) X-Google-Smtp-Source: APXvYqy2kAKOxiHFQ3MhlSwXyUJul9uriU+by0Q/h9HfgT0qv7yrmXkq/XFfkHRTmKP5nlLIpoX+ X-Received: by 2002:a9d:12a8:: with SMTP id g37mr2221614otg.261.1579185295431; Thu, 16 Jan 2020 06:34:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579185295; cv=none; d=google.com; s=arc-20160816; b=B9k5n6sFHblMPMOqi0A2C41Ziz1pBF+BrgRFkA/S2Q9K7GUovVgJfW8vWyiP+DfIit Dkj4G/uqjV2d/Q6JpJ5Scjp9qiciCBov4vRuxlXYv9g6lYAEjlV1F6oKkFdPBg+RT/xH sUfd0idJgDwymUOyIbJ/6zMkzS1Uckw6ynf/4SQAcvM9t1PuOSZFoEUmusUJC1TSHwrI JW24vVxFjk0kW88b5JmSLFg1dXTXEHRY1kUXofLwomadCCYVSrmVzFspis1WdnmNc6O4 ya6xrA4pYFbFjOmvl1XXqz2y6Zk7Zp8+c8lVsZLV973+/d+r9yzG23hvdPpv1mOIrrl4 6IYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=2ZzZHPEpCUoZ0giQKXCMbfah7dz36gRryjWgsJKwhlY=; b=ame2ZPTc7SUlcHvVNI7AeYM8HWO6rp2vF3uN3RO+KIf6lmSBMDxBVfave4d1YUslRn xWDuxjCHJY4rsIX3JebBi0TgaK7rrvUjN5cZ0NaD9AFT3Oq5cn7/GMJYryB/UWD+eDEW gAQEVK+L4ByADVY6yE/id5lMUucdNLVEwTXgPKzDgMDfocoSzfq7LzOrVzEn4OSOsQ0s wBoewEUToM7gxIuaUOLIMQX2teANnUUpNQXzgmbGfdxs5++oj9Ohvx5XxuS0mkPzSi/2 iO9pjiV68fjp0lCjxqvv2TZpm1fykB7zMsHYUSayKQrcUPI38y0mENpW2tDhodja/ss8 vIIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si11221284otf.58.2020.01.16.06.34.43; Thu, 16 Jan 2020 06:34:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbgAPOdb (ORCPT + 99 others); Thu, 16 Jan 2020 09:33:31 -0500 Received: from www62.your-server.de ([213.133.104.62]:38724 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbgAPOdb (ORCPT ); Thu, 16 Jan 2020 09:33:31 -0500 Received: from sslproxy03.your-server.de ([88.198.220.132]) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1is6D1-0007e5-NB; Thu, 16 Jan 2020 15:33:19 +0100 Received: from [2001:1620:665:0:5795:5b0a:e5d5:5944] (helo=linux-3.fritz.box) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1is6D1-000CKw-C1; Thu, 16 Jan 2020 15:33:19 +0100 Subject: Re: [PATCH bpf-next] libbpf: Fix unneeded extra initialization in bpf_map_batch_common To: Brian Vazquez , Brian Vazquez , Alexei Starovoitov , "David S . Miller" Cc: Yonghong Song , Andrii Nakryiko , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Andrii Nakryiko References: <20200116045918.75597-1-brianvv@google.com> From: Daniel Borkmann Message-ID: Date: Thu, 16 Jan 2020 15:33:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20200116045918.75597-1-brianvv@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25697/Thu Jan 16 12:42:45 2020) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/16/20 5:59 AM, Brian Vazquez wrote: > bpf_attr doesn't required to be declared with '= {}' as memset is used > in the code. > > Fixes: 2ab3d86ea1859 ("libbpf: Add libbpf support to batch ops") > Reported-by: Andrii Nakryiko > Signed-off-by: Brian Vazquez Applied, thanks!