From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752622AbcF2Am7 (ORCPT ); Tue, 28 Jun 2016 20:42:59 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:23988 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752325AbcF2Am5 (ORCPT ); Tue, 28 Jun 2016 20:42:57 -0400 Subject: Re: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch" To: Colin King , Arnaldo Carvalho de Melo , Alexei Starovoitov , He Kuang , Namhyung Kim References: <1467116617-8318-1-git-send-email-colin.king@canonical.com> CC: From: "Wangnan (F)" Message-ID: <5773194F.7020005@huawei.com> Date: Wed, 29 Jun 2016 08:41:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <1467116617-8318-1-git-send-email-colin.king@canonical.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.57731966.0007,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 8dff6881a7f9fa86892b78ec1fc82cab Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016/6/28 20:23, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake > > Signed-off-by: Colin Ian King > --- > tools/lib/bpf/libbpf.c | 2 +- > tools/lib/bpf/libbpf.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c > index 462e526..a7cb40a 100644 > --- a/tools/lib/bpf/libbpf.c > +++ b/tools/lib/bpf/libbpf.c > @@ -71,7 +71,7 @@ static const char *libbpf_strerror_table[NR_ERRNO] = { > [ERRCODE_OFFSET(LIBELF)] = "Something wrong in libelf", > [ERRCODE_OFFSET(FORMAT)] = "BPF object format invalid", > [ERRCODE_OFFSET(KVERSION)] = "'version' section incorrect or lost", > - [ERRCODE_OFFSET(ENDIAN)] = "Endian missmatch", > + [ERRCODE_OFFSET(ENDIAN)] = "Endian mismatch", > [ERRCODE_OFFSET(INTERNAL)] = "Internal error in libbpf", > [ERRCODE_OFFSET(RELOC)] = "Relocation failed", > [ERRCODE_OFFSET(VERIFY)] = "Kernel verifier blocks program loading", > diff --git a/tools/lib/bpf/libbpf.h b/tools/lib/bpf/libbpf.h > index 722f46b..148df36 100644 > --- a/tools/lib/bpf/libbpf.h > +++ b/tools/lib/bpf/libbpf.h > @@ -19,7 +19,7 @@ enum libbpf_errno { > LIBBPF_ERRNO__LIBELF = __LIBBPF_ERRNO__START, > LIBBPF_ERRNO__FORMAT, /* BPF object format invalid */ > LIBBPF_ERRNO__KVERSION, /* Incorrect or no 'version' section */ > - LIBBPF_ERRNO__ENDIAN, /* Endian missmatch */ > + LIBBPF_ERRNO__ENDIAN, /* Endian mismatch */ Oops! Thank you for pointing it out! > LIBBPF_ERRNO__INTERNAL, /* Internal error in libbpf */ > LIBBPF_ERRNO__RELOC, /* Relocation failed */ > LIBBPF_ERRNO__LOAD, /* Load program failure for unknown reason */