Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3399602pxj; Mon, 14 Jun 2021 23:26:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTvYY5zDkzEFxTCaffNUfpIU4SfXsb08FPE8d18bSOHwFLAR15L4csR8+sgvTotZ/UEauF X-Received: by 2002:a17:906:79cf:: with SMTP id m15mr1913747ejo.465.1623738364242; Mon, 14 Jun 2021 23:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623738364; cv=none; d=google.com; s=arc-20160816; b=KYknInrOGSsRbfAQ9ARuVUb+E2d9XsF69Kolhxk6TwY0dWNz5IAHlxM6qCkMvOe4gW Xcvvr25uoPWCM5l54XIoHIR3i2bQxSdruyQSepuKvar/W883y7rShLom7Jj0KpngXAfA E9iUgCXgpmoOQbTlDi/wznngWr9rVzWTGJDcVggM9JbhQ4//rVCXkVOyTIktnHKCisj+ U+0BWcvgkDG1xd9qFMA2a47m05+ffGK0u2y8/HdBdBUWvaGlIZuR1NIhd6lzZqRjVAKi YccPaRUqDauAvUhh7qYtKb65lctugwMCnlgHohfu3Hq1rhb5wVf4LU7zwZ23K65fiLJZ PUow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=R6CiRT39KoHnr4CfQvne5IWTcKQuw3ay+vt7NMCzJeM=; b=09kmEQ1Etzc3XVZMX7iqVk7e1NY6bm4JAZMhlfOwercbXDncUgpMfyMW/zCDaEp2YF 3DU7jZzws1B1D+e1O9fPCL/EBzc34MOnPvxEqKbSFleMWVAMQDPv+sSVc++jzTszRuJA 4wvma3u/vB30YYcigV5+fwlkssiKk5lIYfXhg5pAG3CB7dxY3wYAXWJEVBqfNEcXxFRD b5meOJltEA3CHGDtzGbGWauL2c02gNd5zWtjvIyhsIjggLKCcj5KRgm4unvCJ1wr0mUm ICoe7L5EnQkAELarKoSGrutXmLyXa3LZRXCbwa8mIZlnwsxhaV/xvDstNYS+Jr1zFsfs Y3lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ar81s3is; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n14si13631292edt.415.2021.06.14.23.25.39; Mon, 14 Jun 2021 23:26:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ar81s3is; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229968AbhFOG0m (ORCPT + 99 others); Tue, 15 Jun 2021 02:26:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbhFOG0l (ORCPT ); Tue, 15 Jun 2021 02:26:41 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2138C061574; Mon, 14 Jun 2021 23:24:37 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id g38so18886189ybi.12; Mon, 14 Jun 2021 23:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R6CiRT39KoHnr4CfQvne5IWTcKQuw3ay+vt7NMCzJeM=; b=ar81s3ispK7Vqv3nWZANhPSHhOa1FenU5+qicdGEJA7WiYqZ1dWzJ0zl5yJ+9PQc3B wJLgI/xG6fWXIrbUWZFRDyUtiw045XJjV3qOntXmW8fTwbNUJ7wrGLEVaOIPHSnVzRIb MEk3FEo/9UcPH/dFoW7mIpFgxUE+z4umQMW3X/Y2dLMyq/fFqmHgMMiRXdZAnTiBAYt/ DZ3behnClMuFnOLAtSSwubTjxZ0+1gakzQDGgE8kYfX49LLMqtUcEN4Ek8Vzq3lDX4hd Ftjo/SWR4Q5ZT5GHcbHRN0PsIZxODBZ6INrxFe2owJyWFQS2tfXCD4u2azT8DSLbdnQ2 pjsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R6CiRT39KoHnr4CfQvne5IWTcKQuw3ay+vt7NMCzJeM=; b=uiPIEmuiW7DuDchFfAbDM1GrUkiVZpD3wuU2IgPUo0JqRMUWKE5j3TXptl500jikrr 4/GrU7WbDIqCfIsYfDi9DSwYDKE7ywW3HeKA77KS1ABxf2Gq/i0OQo3FlzRuzJ9jUNu0 pEEYznbm8cABwiJ0fXxiLG6JcqQ/8lvwdIEkLE54IVhWixee+TjiP+UhOns1L+OLHWU6 lgF0A6qxty+GRmOH4IXx8ECBws2/Qmz07sgy1WvO8riMTBRPcScuNcuuG+Y7yS9+zx34 rtWzRpXOj/aeAJk4g7WjTrqgFu3+2siXKULs/zWodn/UlpOhyFBu2pzVjRzxMsTId1wU Ukyw== X-Gm-Message-State: AOAM531Sv2A1hXrkyuw2BPaaN1XBYBUaSw1I0aRmMuUR0ZSLyhkVga5y EF0LMwlt4PHDb6YmUHpuBD8DNUk5q4gPJJkJRzI= X-Received: by 2002:a25:6612:: with SMTP id a18mr30701018ybc.347.1623738277016; Mon, 14 Jun 2021 23:24:37 -0700 (PDT) MIME-Version: 1.0 References: <20210609115651.3392580-1-wanghai38@huawei.com> <34bd6047-2b4c-1218-7822-57aea059deb1@fb.com> In-Reply-To: <34bd6047-2b4c-1218-7822-57aea059deb1@fb.com> From: Andrii Nakryiko Date: Mon, 14 Jun 2021 23:24:26 -0700 Message-ID: Subject: Re: [PATCH bpf-next] libbpf: simplify the return expression of bpf_object__init_maps function To: Yonghong Song Cc: Wang Hai , "David S. Miller" , Jakub Kicinski , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin Lau , Song Liu , john fastabend , KP Singh , bpf , Networking , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 9, 2021 at 8:21 AM Yonghong Song wrote: > > > > On 6/9/21 4:56 AM, Wang Hai wrote: > > There is no need for special treatment of the 'ret == 0' case. > > This patch simplifies the return expression. > > > > Signed-off-by: Wang Hai > > Acked-by: Yonghong Song Applied to bpf-next a few days ago. Seems like patchbot was off duty at that time.