Re: [PATCH] [v2] printf: fix errname.c list
From: Arnd Bergmann
Date: Mon May 17 2021 - 04:47:56 EST
On Mon, May 17, 2021 at 10:07 AM Rasmus Villemoes
<linux@xxxxxxxxxxxxxxxxxx> wrote:
>
> On 14/05/2021 23.34, Arnd Bergmann wrote:
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> > from EDEADLOCK, and remove the -ECANCELLED bit completely as it
> >
> > diff --git a/lib/errname.c b/lib/errname.c
> > index 05cbf731545f..6c5c0aa4de75 100644
> > --- a/lib/errname.c
> > +++ b/lib/errname.c
> > @@ -21,6 +21,7 @@ static const char *names_0[] = {
> > E(EADDRNOTAVAIL),
> > E(EADV),
> > E(EAFNOSUPPORT),
> > + E(EAGAIN), /* EWOULDBLOCK */
> > E(EALREADY),
> > E(EBADE),
> > E(EBADF),
> > @@ -38,8 +39,12 @@ static const char *names_0[] = {
>
> somewhere between EBADF and ECHRNG I'd expect a hunk dealing with the
> ECANCELED stuff
>
> > - E(ECANCELED), /* ECANCELLED */
>
> but I only see this removal?
>
> Otherwise looks good.
Fixed now, v3 coming. Thanks!
Arnd