Received: by 10.192.165.148 with SMTP id m20csp179607imm; Fri, 20 Apr 2018 05:11:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx48/LRG85aQ97MhXBQ0T8uLEUMKL21pRAhesxjlEYmlfBMTMAMxSbcZVhQ23+NmE2CAoFVhy X-Received: by 2002:a17:902:529:: with SMTP id 38-v6mr10109953plf.64.1524226301748; Fri, 20 Apr 2018 05:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524226301; cv=none; d=google.com; s=arc-20160816; b=AuNmJ188gsxjm57y4jk9rkU+chrq0P1mEAkU0qm8bU0Ad6f/qoPitVdxBC2FtdYuR0 Dr0DNVpTxYUSWyudiSTmzKx3JlCwbt5qFS/eKYRQ1RxodPehNTfpdrPSqqcgEuMh4Wsa qilooOen2vXcKk2t4jrHhUv9cgCZ1xC0VjM8/eCcrq+3NCjy7M4E2XSEP047klLQDZrS rmex4Zj6ntN8MSqzAJKqoLt+oTQWyTcUjtF9BexDgtOONCKLSEVQ2ldsps6LI24MS0j9 44w9eFEQUP/6N5KHk3QVvNIMUJjY7FYrZ0b36YJmq7UsW39SdVsQfNaG2lbK058R7MST AfeQ== 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=O15LIkaOUR2YRp+SBvkr9hgwBE+GBKilNYQfNQpTJFU=; b=Fni6Qk86huDQ23z60BKfHhpIs8gpvYo4uJbnqkPJw4o4O460Vx9FoGQzXN7F2y9NXF B0JFJ0VREE6ZMj+usD8nNR+AMu4HCJOZoWLSAD+F3SA/Drt3PcvsisAtjJ044COfIAH4 lE2bNy4pbJYWJtnaRbL1+afJRFn3Su9Zd2+jSVUexBl3sCjybhU9TK7koVfpKycCD992 Qv7wj6iBcXo2QitzXA+jBszNX0FIrecdUI+39AOvogcNP+Ob2yU1ui+cQLk9aX3ZpoEF heb1sIRAvUklfuRh6PIARiiNdEGDOKxUV747q1zDacbr9ZgDEec2KFj9HiJ5hLANJsc6 PHZA== 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 t2si392362pfl.26.2018.04.20.05.11.27; Fri, 20 Apr 2018 05:11:41 -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 S1754767AbeDTMKL (ORCPT + 99 others); Fri, 20 Apr 2018 08:10:11 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60842 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754607AbeDTMKJ (ORCPT ); Fri, 20 Apr 2018 08:10:09 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 402AF81A6FC0; Fri, 20 Apr 2018 12:10:09 +0000 (UTC) Received: from localhost (ovpn-200-19.brq.redhat.com [10.40.200.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2C57F2166BAE; Fri, 20 Apr 2018 12:10:06 +0000 (UTC) Date: Fri, 20 Apr 2018 14:10:04 +0200 From: Jesper Dangaard Brouer To: Leo Yan Cc: brouer@redhat.com, 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: <20180420141004.259d7d6f@redhat.com> In-Reply-To: <1524101646-6544-2-git-send-email-leo.yan@linaro.org> References: <1524101646-6544-1-git-send-email-leo.yan@linaro.org> <1524101646-6544-2-git-send-email-leo.yan@linaro.org> 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.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Fri, 20 Apr 2018 12:10:09 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Fri, 20 Apr 2018 12:10:09 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.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 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. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer