Re: [PATCH] perf test: fix spelling mistake "allos" -> "allocate"

From: Arnaldo Carvalho de Melo
Date: Wed Sep 18 2019 - 19:09:58 EST


Em Tue, Sep 17, 2019 at 01:12:46PM +0530, Mukesh Ojha escreveu:
>
> On 9/11/2019 8:51 PM, Colin King wrote:
> > From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> >
> > There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.
> >
> > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Reviewed-by: Mukesh Ojha <mojha@xxxxxxxxxxxxxx>

Thanks, applied.

> Thanks,
> Mukesh
>
> > ---
> > tools/perf/tests/event_update.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tools/perf/tests/event_update.c b/tools/perf/tests/event_update.c
> > index cac4290e233a..7f0868a31a7f 100644
> > --- a/tools/perf/tests/event_update.c
> > +++ b/tools/perf/tests/event_update.c
> > @@ -92,7 +92,7 @@ int test__event_update(struct test *test __maybe_unused, int subtest __maybe_unu
> > evsel = perf_evlist__first(evlist);
> > - TEST_ASSERT_VAL("failed to allos ids",
> > + TEST_ASSERT_VAL("failed to allocate ids",
> > !perf_evsel__alloc_id(evsel, 1, 1));
> > perf_evlist__id_add(evlist, evsel, 0, 0, 123);

--

- Arnaldo