[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vdov2m5hb9ot3A8paPvUCympmktYtW9A5QEZ2TdBX_1Xw@mail.gmail.com>
Date: Wed, 16 Oct 2019 19:31:33 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Petr Mladek <pmladek@...e.com>
Cc: Rasmus Villemoes <linux@...musvillemoes.dk>,
Uwe Kleine-König <uwe@...ine-koenig.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Jonathan Corbet <corbet@....net>,
Joe Perches <joe@...ches.com>,
Linux Documentation List <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5] printf: add support for printing symbolic error names
On Wed, Oct 16, 2019 at 5:52 PM Petr Mladek <pmladek@...e.com> wrote:
>
> On Wed 2019-10-16 16:49:41, Andy Shevchenko wrote:
> > On Tue, Oct 15, 2019 at 10:07 PM Rasmus Villemoes
> > <linux@...musvillemoes.dk> wrote:
> >
> > > +const char *errname(int err)
> > > +{
> > > + const char *name = __errname(err > 0 ? err : -err);
> >
> > Looks like mine comment left unseen.
> > What about to simple use abs(err) here?
>
> Andy, would you want to ack the patch with this change?
> I could do it when pushing the patch.
Looks good to me.
Acked-by: Andy Shevchenko <andy.shevchenko@...il.com>
>
> Otherwise, it looks ready to go.
>
> Thanks everybody involved for the patience.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists