Received: by 10.192.165.148 with SMTP id m20csp258162imm; Fri, 20 Apr 2018 06:23:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx49735od/jZQaLf8szQxX9SRSuCGkQ4B7vIkkSOeczZg9Sntl7h5qHWWlLFe/OrKO6vqAEfq X-Received: by 10.98.209.85 with SMTP id t21mr4860850pfl.215.1524230586547; Fri, 20 Apr 2018 06:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524230586; cv=none; d=google.com; s=arc-20160816; b=jLt7SxGL17gwqylReuu1HEtGwzURg6qC5aQhSzctDkioohRNfs/KydkLxdNSHmWk0V DkKkiVPRsBo0hnBpF4xX4wLVrHI3pjApNpnxR2QLTe9a1p6/DzpTZW2oCWmHbblBBG2C NoSuhj0gT2G65gyqPXhclfDLZeDNpM2OaGzenH9Krq30O2zGMIxGu2tt0oN4/vvxdRTk UHSiOEy0ZC4ePB7fpuY+b7B6M+EvrPLyD7/vPxNiX8rpK0Xbi68OcUwH/Tz7gJ3X/xvH vTQZqleb/LDzIiYZVYIx0gAckA+uhwl6D/pxFRmvrIIjuBAahStIQyITafX9US3TO9Yk W3Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=LkopZk/PK9eZ4uZUI/i3IDlkIMKyigv1ZcpfQV6RnZg=; b=s9lRktoftyzqt9z0XfxlUTyTINZUVxJN2WrRtOwpurF22dYoLcnGKsHThBo/H+FoMZ 0GXH/EHrdPRTukgTRjIASwGL0tbfvnZL0kmheZJMMdt+E35CEZ/59qU1MZZzCNZ0zXVH KncCcFbjxaFbnZ7jKW9FDX9/dsZr+5Lea/98j0HkyRLIjp1c7rHVKhYlyLNEtP1rts19 H88Sa3qzhdhbdKJVcNhtIFlsEnSboXIzM3c46ldAH9O/NxyxbcblrHva7a3JwFn6uDcI GFyR34kS9tM8aUm78RdaOg5YDzhPVda+Mt0tL3DVUB/v9RdQzIgA/gUYsuwl+5LesqWf GZqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FCpYADit; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194si2719291pgf.364.2018.04.20.06.22.52; Fri, 20 Apr 2018 06:23:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=FCpYADit; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755033AbeDTNVW (ORCPT + 99 others); Fri, 20 Apr 2018 09:21:22 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:39368 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754978AbeDTNVU (ORCPT ); Fri, 20 Apr 2018 09:21:20 -0400 Received: by mail-wr0-f194.google.com with SMTP id q3-v6so12947237wrj.6 for ; Fri, 20 Apr 2018 06:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=LkopZk/PK9eZ4uZUI/i3IDlkIMKyigv1ZcpfQV6RnZg=; b=FCpYADitGSCrV1ppeNI3kS0o0WZKi9+GnzBWAdkPa6Vr/SuCNrhJd5wgFnVsZWN9SB TNcBelkL42nC3CgKhyojsxDWC8PquYow0X+oCU0taVfeR6L3Ag9Kce2PHuiPlherZtu0 hOTWWQBnS6avDEiAFH4qaJZAvY252uyeQFVrI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LkopZk/PK9eZ4uZUI/i3IDlkIMKyigv1ZcpfQV6RnZg=; b=GCPsqyZSOXj3MXVYzIwyC/nrIcBHkQv7h/UU37Al/5U1AFFVvoahDBvcKYDd8RmPiX jBm6SPpVSsRaTuwYvmJBIqJ2DJgCKsZd6KHM8fgbLHQ53KUor+ueR2uy1A6yCfpxP9wy 1gJtJHbTKmvOw+chnT8TlYsgEebIATlLod6778b87NlMJ1alIRzyecbLRfBvvSDOdbxk bZtWB984LBe28PhYxl/B5vQQhtfQ+ZkKLIBr/D6Ik7jvANK0wrHBqF1wiLukVg/mNAl3 n1kFBAMYs9m9dNBTcEzvBBYKXD5gQ58pzXdgjBey7LQYpgTOHQQdqqCtpK85SsQF3N0Y UWgQ== X-Gm-Message-State: ALQs6tBImbUNr5TEuCmGoJZvf0790X2KtaQiz2EuQoZXU6EwTy1eTgBs vijpfQhEHr994Cklr3+1jh9JCA== X-Received: by 10.28.210.193 with SMTP id j184mr2109123wmg.8.1524230479387; Fri, 20 Apr 2018 06:21:19 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id y101sm1502587wmh.10.2018.04.20.06.21.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Apr 2018 06:21:18 -0700 (PDT) Date: Fri, 20 Apr 2018 14:21:16 +0100 From: Daniel Thompson To: Jesper Dangaard Brouer Cc: Leo Yan , Alexei Starovoitov , Daniel Borkmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH bpf-next 1/5] samples/bpf: Fix typo in comment Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180420141004.259d7d6f@redhat.com> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Daniel.