Received: by 10.192.165.148 with SMTP id m20csp289793imm; Fri, 20 Apr 2018 06:53:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Rsz8k22apiUtnaiYvXk0higmVw32m0pV8rlzHpAu+Swd+r3moHjRNG3G+QRTKCKLmQNzX X-Received: by 2002:a17:902:1681:: with SMTP id h1-v6mr10316228plh.145.1524232427828; Fri, 20 Apr 2018 06:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524232427; cv=none; d=google.com; s=arc-20160816; b=hgaT6CnVw4h/9ocbs699xlsoVa9LCx4zynpm2HcoDZ3r3c2q9KXXFHNhGtYrj1IL5H RB/mxbfv3bAG3qGdDKPW2MhG5muVcRxsdzNdiMV3PrZuG+6abRwZc+WDciCjGGa43ZX9 V9cdjwi29Kq9jVavBH1VZkhr7Pw61kHXgMHe32hGTw0WIHKnOk/yBwazO9DX8dwMG3cV WeQvGJXiXL0Vw7bA2x5hE9k+2rMLL6PLQwqontm5XiaEoWjTETXqYE3GU/Vt4RSsxgum ZpavFP2KduPDj4SzZruxN8AjoAEW+tH02pZ0ddhXyZ31lcUNuKfLtSj1559oTc4C+oEK Ix7w== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=1q+Dxxfa2VuYdHouSFt//4eKv+BETIPHh4NY9BP+jR4=; b=Ab0+miHKZRKECLAEmJTwsK1qgfXE/KSnrV+6i4rkywuOyFndr08KyYItociD6XeNxg Ok/maRPeO6Tw5cA5jefdDqCMMqEnHrje86C+I8AgSk8J8YU50cew8UZ2VIrr8g5SR14X sR5m6O0WEm71x+N/KFd5U7H/0qpBrvNfgD1RqBlPUXr5vM3jl55qr8ZggV+pZhCrryl6 z0Dvk9daA2vurhpuV8mlGBbx1rS93JX7hJN4oC5JfsLVUvSTlgbYPO6nQE0pW+MXk1Sx Bu0ulhb3oTh6XpaiXq1LnM0pykKsF2x3wXxwOWPYMwlJwwWPCtmobAs8Jtu/tiU6tfcW eCJQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h23si5288300pfn.287.2018.04.20.06.53.33; Fri, 20 Apr 2018 06:53:47 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755212AbeDTNwT (ORCPT + 99 others); Fri, 20 Apr 2018 09:52:19 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46928 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755050AbeDTNwR (ORCPT ); Fri, 20 Apr 2018 09:52:17 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 065FC40704A9; Fri, 20 Apr 2018 13:52:17 +0000 (UTC) Received: from localhost (ovpn-200-19.brq.redhat.com [10.40.200.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id B9E8D2026DFD; Fri, 20 Apr 2018 13:52:14 +0000 (UTC) Date: Fri, 20 Apr 2018 15:52:13 +0200 From: Jesper Dangaard Brouer To: Daniel Thompson Cc: Leo Yan , Alexei Starovoitov , Daniel Borkmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, brouer@redhat.com Subject: Re: [PATCH bpf-next 1/5] samples/bpf: Fix typo in comment Message-ID: <20180420155213.2867fcf5@redhat.com> In-Reply-To: <20180420132116.uswpqniteogfu4zz@holly.lan> References: <1524101646-6544-1-git-send-email-leo.yan@linaro.org> <1524101646-6544-2-git-send-email-leo.yan@linaro.org> <20180420141004.259d7d6f@redhat.com> <20180420132116.uswpqniteogfu4zz@holly.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 20 Apr 2018 13:52:17 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 20 Apr 2018 13:52:17 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'brouer@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Apr 2018 14:21:16 +0100 Daniel Thompson wrote: > On Fri, Apr 20, 2018 at 02:10:04PM +0200, Jesper Dangaard Brouer wrote: > > > > On Thu, 19 Apr 2018 09:34:02 +0800 Leo Yan wrote: > > > > > Fix typo by replacing 'iif' with 'if'. > > > > > > Signed-off-by: Leo Yan > > > --- > > > samples/bpf/bpf_load.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/samples/bpf/bpf_load.c b/samples/bpf/bpf_load.c > > > index bebe418..28e4678 100644 > > > --- a/samples/bpf/bpf_load.c > > > +++ b/samples/bpf/bpf_load.c > > > @@ -393,7 +393,7 @@ static int load_elf_maps_section(struct bpf_map_data *maps, int maps_shndx, > > > continue; > > > if (sym[nr_maps].st_shndx != maps_shndx) > > > continue; > > > - /* Only increment iif maps section */ > > > + /* Only increment if maps section */ > > > nr_maps++; > > > } > > > > This was actually not a typo from my side. > > > > With 'iif' I mean 'if and only if' ... but it doesn't matter much. > > I think 'if and only if' is more commonly abbreviated 'iff' isn't it? Ah, yes![1] -- then it *is* actually a typo! - LOL I'm fine with changing this to "if" :-) [1] https://en.wikipedia.org/wiki/If_and_only_if -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer