From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752569AbcF1ONV (ORCPT ); Tue, 28 Jun 2016 10:13:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60000 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbcF1ONU (ORCPT ); Tue, 28 Jun 2016 10:13:20 -0400 Date: Tue, 28 Jun 2016 11:13:25 -0300 From: Arnaldo Carvalho de Melo To: Colin King Cc: Wang Nan , Alexei Starovoitov , He Kuang , Namhyung Kim , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch" Message-ID: <20160628141325.GA7137@redhat.com> References: <1467116617-8318-1-git-send-email-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467116617-8318-1-git-send-email-colin.king@canonical.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 28 Jun 2016 14:13:18 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Jun 28, 2016 at 01:23:37PM +0100, Colin King escreveu: > From: Colin Ian King > > trivial fix to spelling mistake Thanks, applied. > 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 */ > LIBBPF_ERRNO__INTERNAL, /* Internal error in libbpf */ > LIBBPF_ERRNO__RELOC, /* Relocation failed */ > LIBBPF_ERRNO__LOAD, /* Load program failure for unknown reason */ > -- > 2.8.1