Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4710095pxv; Tue, 27 Jul 2021 14:26:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQ8zysdnnjbTLL2EG5EBJhT2nBXl8xFIRijj1k6Dr6BqAjdWB90un0BAsOhwuHpFBpF/rW X-Received: by 2002:a17:907:970f:: with SMTP id jg15mr4269327ejc.175.1627421189675; Tue, 27 Jul 2021 14:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627421189; cv=none; d=google.com; s=arc-20160816; b=ebyuCkpZSstQW6qL7/P61RSajyt5nx6UHV0WVsxlXLDD7TFeUANOtRO5E+9P140k6o dE3PQmfscXlwlBmNliuwiucozJI5gEA9MsUGkMbO5RhgdRpeCTIWEaaArDzLfejjg2PT VKERJx95vxF4TKdSQfa+cSOAQPT0TQqb3jyKPNRDO7FdW5yoy3oS4JMp3u50SmnYglaP 5S6FpHY2v62HbhGUXpFfTwnpOgAZt+vPC2MJR4y7/FhBSj7IrGJMKftqvT7vZjAW0BL5 fHyKcVPC2aTUewkId/tHmCWKMN5WKxlYfChKyI+ANuY3xRKNZhY+FTkopNb1+o9JfPku qCvQ== 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=iB3qgeViRpIjT93w0QydPOg+Ii5RDB3TR8rNyXNBTEQ=; b=HLwQnvJbEpWqKZOzmNysWv1LugK+lL9zakwu1M43ZdHuco/ghiTQLz0PA6YKDgODS1 3Ntp6Cc+dieQu5wQOi6lJz27bcoZeE8vrT7GQwnfkHHyDVM09+YcbVXw+DGOucFrGfc2 dAJFKpftrS3lORVJ5cdW4p6nxEiRlpDx47UFr5PD7e9sLrU3C9Z93igtG8jSGfs36/Wq vf5HxaqRHrAa29gsVxQiwLFsTQ7If4CzwlDx4bjvITcYagcuumEJWkByo8omvELzT3Oe M1vO02/Pjq64mgSgeqBX3V05bMgo0f619J3vvvykY1/QXPpl3AjQ59fsmix1KwxEj+BM GwRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fFcNEB8L; 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 w17si3888566edq.35.2021.07.27.14.26.06; Tue, 27 Jul 2021 14:26:29 -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=fFcNEB8L; 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 S234251AbhG0VWu (ORCPT + 99 others); Tue, 27 Jul 2021 17:22:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234850AbhG0VWX (ORCPT ); Tue, 27 Jul 2021 17:22:23 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35FF8C061199; Tue, 27 Jul 2021 14:20:55 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id d73so305663ybc.10; Tue, 27 Jul 2021 14:20:55 -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=iB3qgeViRpIjT93w0QydPOg+Ii5RDB3TR8rNyXNBTEQ=; b=fFcNEB8Lsvr2/BVLHn0JVzailtB5iHyYSl3beRfbb9I0jotBWWN88x1OEsOQ08GIvQ LAcPZeFufJHDai/v2cq0K1zWQ1b+7yd7Mu1AviyRZcOOevvrhJ9og5foGVzAOy1euA1u 1KcF7pwxWXsCqdaMA3UdSLBEoceSKXcLBWSHynQbw9FmWQ9ZZnZCFvbcsSRGxo/1Ww3o cItyV8QPd4rmngHiiRPzBqyCRD7vZTISIRdlZeEuh3oAegNSc7ET89wiRdi3jwlJQt0R G1DtRtjSmOSMI+CHUEBSatuqe5W2QWv51WgzzMPXESgiGtlHWhA8VwBb9GO/1QJU6o5j qzVg== 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=iB3qgeViRpIjT93w0QydPOg+Ii5RDB3TR8rNyXNBTEQ=; b=hOvZULZMqoARvH0mGQHrfr6KhPIIpltM6tSM0VxesKbAOChg+DJ1g9H4csNqs4z30B CuLRTIP3EomxokjubA0n/7oRrq5JuHf2pLMeFh+U3D0QFK+4GEpRStN47e4zS0nMEG32 mlR27p/h9JlxNrV+1jozyxeYurohWgkpaebJIT6goNQR4xZMiS7AqiVOx5o5J+w96cyG UzWAJ5Bs/m5wTJRWYBDSophCQcawfXy3awoTSmmIhgNedj69SRe5OGEV95m1jOrXGRjB SS2u/g5nCwAg7DMTqHHfVqSKX1Skw7H4FrsSurIxVCz12Hn4LFo6ipNtc62Gsv+IIFar CZdQ== X-Gm-Message-State: AOAM530hlz03vMzZ3rS6lO7mP13vpsRm6x0ekZwaJnb7PB+N1/lmuRzi A5PcNHtV4gvGnF6O9KoYa/QkG7mBdpWtwj5mXVo= X-Received: by 2002:a25:b203:: with SMTP id i3mr34416195ybj.260.1627420854479; Tue, 27 Jul 2021 14:20:54 -0700 (PDT) MIME-Version: 1.0 References: <20210727115928.74600-1-wangborong@cdjrlc.com> In-Reply-To: <20210727115928.74600-1-wangborong@cdjrlc.com> From: Andrii Nakryiko Date: Tue, 27 Jul 2021 14:20:43 -0700 Message-ID: Subject: Re: [PATCH] libbpf: fix commnet typo To: wangborong@cdjrlc.com Cc: Daniel Borkmann , Alexei Starovoitov , Andrii Nakryiko , Martin Lau , Song Liu , Yonghong Song , john fastabend , KP Singh , Networking , bpf , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 27, 2021 at 5:00 AM Jason Wang wrote: > > Remove the repeated word 'the' in line 48. > > Signed-off-by: Jason Wang > --- Fixed the typo in the subject of a patch fixing a typo in libbpf comment :) Applied to bpf-next. > tools/lib/bpf/libbpf.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c > index 4c153c379989..d474816ecd70 100644 > --- a/tools/lib/bpf/libbpf.c > +++ b/tools/lib/bpf/libbpf.c > @@ -7236,7 +7236,7 @@ static int bpf_object__collect_relos(struct bpf_object *obj) > > for (i = 0; i < obj->nr_programs; i++) { > struct bpf_program *p = &obj->programs[i]; > - > + > if (!p->nr_reloc) > continue; > > @@ -9533,7 +9533,7 @@ static int find_btf_by_prefix_kind(const struct btf *btf, const char *prefix, > ret = snprintf(btf_type_name, sizeof(btf_type_name), > "%s%s", prefix, name); > /* snprintf returns the number of characters written excluding the > - * the terminating null. So, if >= BTF_MAX_NAME_SIZE are written, it > + * terminating null. So, if >= BTF_MAX_NAME_SIZE are written, it > * indicates truncation. > */ > if (ret < 0 || ret >= sizeof(btf_type_name)) > @@ -10075,7 +10075,7 @@ struct bpf_link { > int bpf_link__update_program(struct bpf_link *link, struct bpf_program *prog) > { > int ret; > - > + > ret = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), NULL); > return libbpf_err_errno(ret); > } > -- > 2.32.0 >