Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp882663ybd; Wed, 26 Jun 2019 07:33:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAWCROyDvW3LtGVLrlrRiXRCEFBVplVZlNgn/WuRqINQQOBpPef+KDua3AVeV1vIUgTF7n X-Received: by 2002:a17:902:110b:: with SMTP id d11mr6054230pla.213.1561559635592; Wed, 26 Jun 2019 07:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561559635; cv=none; d=google.com; s=arc-20160816; b=0uKz1zVL+1Y6ZzfVSa9AqbCdC+iBei+puBXzm96hHCL8+JP9aZZPwPdUHt2H+AQt3F 6jAq1lJ+31RVqBUDnj5iE9ndrYPaGBMIHsVKIVvDyzUEBREBZ+q2jthaE6ZPIsW6/k+E 9JuW7rbSc5xQuy2CCP0tFJYDcJ5ZuLuRT0kDiem+yuFyQTM9sG7hopvKt/+vw+10u40v Ah5j1huU7mrhD5HoDQOPxQrG7fM79o61aJ0y4dWPqlHgFHZme2jktL4f/dnw3SIirEP7 33UY/s1722QrvNNH2jdfGGQoEED516ANDnH/ZVQ/SLuBVTjp82veW2+3dOBpXWxgvTBz eSpQ== 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=ewHNJ0nehN1ZI3bj4UKIJq25c4bBHLNi+0oC/o4ItAs=; b=uHPRqH8rbuHCqVQQ138JGiRo8kWpxIPimX/xeK0bqftiij+J+KGT1CucAZyII9K4fL 4A/uD7W6ZmA+dV/Os4tvlVhXVVCGLqSOK0p9gAXuoT4D9t6jkh3NdmCR2Sz9ODvrvsQ3 AKFjP9JYsYWWudZvlO0fIBHpm/G6MoyCQBFvvKG5xhGGAXjGA6/zg9Sqp1diIqcpCZOD yuAI5Z8CCFi4GYctXOSjyAIvOGts+H2AepKV0y1+GxDjTT7k0uRh58MBkKKTQR7gnIbm utIZ+t+P7YReghWtkslBgmgaRnUQdE0LSDl9db8RurYFusLRJ+IMXifnh9IRl7kADN3R eVFw== 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 y187si1739771pgb.480.2019.06.26.07.33.38; Wed, 26 Jun 2019 07:33:55 -0700 (PDT) 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 S1728165AbfFZOcT (ORCPT + 99 others); Wed, 26 Jun 2019 10:32:19 -0400 Received: from www62.your-server.de ([213.133.104.62]:44660 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbfFZOcS (ORCPT ); Wed, 26 Jun 2019 10:32:18 -0400 Received: from [78.46.172.2] (helo=sslproxy05.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1hg8y8-0000Zi-LF; Wed, 26 Jun 2019 16:32:16 +0200 Received: from [2a02:1205:5054:6d70:b45c:ec96:516a:e956] (helo=linux.home) by sslproxy05.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1hg8y8-000A5w-El; Wed, 26 Jun 2019 16:32:16 +0200 Subject: Re: [PATCH v2 bpf-next] libbpf: fix max() type mismatch for 32bit To: Ivan Khoronzhuk , ast@kernel.org, netdev@vger.kernel.org Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190626103837.6455-1-ivan.khoronzhuk@linaro.org> From: Daniel Borkmann Message-ID: <44ad3d98-f304-628f-9f8d-dfc1faaabfaa@iogearbox.net> Date: Wed, 26 Jun 2019 16:32:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20190626103837.6455-1-ivan.khoronzhuk@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.3/25492/Wed Jun 26 10:00:16 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/26/2019 12:38 PM, Ivan Khoronzhuk wrote: > It fixes build error for 32bit caused by type mismatch > size_t/unsigned long. > > Fixes: bf82927125dd ("libbpf: refactor map initialization") > Acked-by: Song Liu > Acked-by: Andrii Nakryiko > Signed-off-by: Ivan Khoronzhuk Applied, thanks!