From patchwork Thu Apr 19 01:34:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 133676 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp88060ljf; Wed, 18 Apr 2018 18:34:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gAN2IYIfgbULzHiJcX9WG9zyT1QnL2qQT1FcZBdT2v6rIyrKfqRakHldtGzsXI5cSjQno X-Received: by 2002:a17:902:7d85:: with SMTP id a5-v6mr4161598plm.102.1524101672881; Wed, 18 Apr 2018 18:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524101672; cv=none; d=google.com; s=arc-20160816; b=sZxnxzzRIuaqH9LoWcSZULUNTiYXaMojfQnNG8O0umM+uNtiZtEmAnORlqKf25tg26 m3xfjVwJoair4D3OKV/YFmaXB47lAiZJqi1Cq2xIQZSmdRIOmwYXV0gDK1aAYVXQBY0f mS3n4XLl2aI3q9Nc9OyiaAgQChGGNOVecFwEc3tiaittCdWVuC3UFu3sTduDS0TNYY9b TcSlkzzrbl9eYS/AAKlOFmgT6XkyR5GC2Iin0afW7pZ9AZH4RuNxX8jFXlJCMSgGoflP JrCi1ioZzkipqIF9An6YroezTsombYWP/UtO1cEmEkNkDvqocSPQpogEAd1XIE6XmIFd 0EsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Mo4KoBOnfav7uXjL6PFcsm72z+Fjm4rDnqqAiuV+NDg=; b=QyQHb1nRubnpud3TaV4Iav2Dt6QPgqOFjoDGGsj8Q/+xo1eq4Y83SLJn2us7TGx8IA 5j2G4eaSicAZ1/K8j2eIbviDLClXdZ2xs0fWzg7YEIMDnEGWTntDrpd5whkJeiZR57lY ALbNnRl1n0OmLUdndzLnI+P7qWp7IP+KmJYofc/EhwONfcsECI6Qg5AUH6cUWplW8RCZ Qki9S0yZAzumMDKRhThb91Pg7HwMUJyey1g75ITo0IlECpdVJeFWMhnVbnkx/Ao8zIub NXFawTjNaY9zMF7gRw6mQghC8oUla3Xk56NCA3YOBSnFJwnVpba7SPrP8C9EoSfICUYQ gvDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f89+vUkI; 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 z4-v6si2470457plo.190.2018.04.18.18.34.32; Wed, 18 Apr 2018 18:34:32 -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=f89+vUkI; 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 S1753097AbeDSBe3 (ORCPT + 29 others); Wed, 18 Apr 2018 21:34:29 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33482 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752255AbeDSBeZ (ORCPT ); Wed, 18 Apr 2018 21:34:25 -0400 Received: by mail-oi0-f66.google.com with SMTP id 126-v6so3405438oig.0 for ; Wed, 18 Apr 2018 18:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Mo4KoBOnfav7uXjL6PFcsm72z+Fjm4rDnqqAiuV+NDg=; b=f89+vUkIxXMdIV6UqdIsiuECs4UV9nCyfMsAbOIoJnJGlQKsvsdZ5Kw+U/i+zz2c4S Ef4eCbtHdVmPIADNsAFPVeH5zxdKLF+x1IFdXtnO/9eEkYy5gbIxnE1R4zC6jiE1Bn+B cVFFLhrXZesTcPLrtTrX+ZAPR3t0ZPer///AA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Mo4KoBOnfav7uXjL6PFcsm72z+Fjm4rDnqqAiuV+NDg=; b=HmmuJ5nolrsNZH7YQFlRqAzS9/T0BlIJlQg64L8/TbJqfHU54+WFFP8Ixebv/OMgi+ jYVr3aGkOizBEoFJ5JT6DUVE2AZZVzkmQOtULz0Y5BxNbzp/+pOXVxkhgng/wTRsQJE2 Qx/F9S7WNeVsP6fWh+s02qXFxacNojOfti5PyWLYZ+NdT5SPMOJCboBKpKVjUOMFbS5A mDZbNpDWdeDnkZ1qmRkHdF+HlrAvW1UFa5DYRBykbHAMetVqFp82Xgt1uZld4WBfLRjy p6ZyCnW6RGExdCVlkmWSe1M/saQkozEnqtyUHZJLxzsgMogNqgcu+1vBPgGLUPF30BQp Qv6w== X-Gm-Message-State: ALQs6tBIyCw9ySF22sIdDM9iWLBEVWPwBXsvCbO1uy9TmiNaFUQOF6Oi J1QPaLh8B5AVCFIPpSdDvuiWsg== X-Received: by 2002:aca:4441:: with SMTP id r62-v6mr2681144oia.227.1524101665340; Wed, 18 Apr 2018 18:34:25 -0700 (PDT) Received: from localhost.localdomain (li973-238.members.linode.com. [45.33.19.238]) by smtp.gmail.com with ESMTPSA id m84-v6sm1389662oia.1.2018.04.18.18.34.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Apr 2018 18:34:24 -0700 (PDT) From: Leo Yan To: Alexei Starovoitov , Daniel Borkmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH bpf-next 1/5] samples/bpf: Fix typo in comment Date: Thu, 19 Apr 2018 09:34:02 +0800 Message-Id: <1524101646-6544-2-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524101646-6544-1-git-send-email-leo.yan@linaro.org> References: <1524101646-6544-1-git-send-email-leo.yan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.9.1 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++; }