Messages in this thread | | | Date | Wed, 16 Oct 2019 16:52:08 +0200 | From | Petr Mladek <> | Subject | Re: [PATCH v5] printf: add support for printing symbolic error names |
| |
On Wed 2019-10-16 16:49:41, Andy Shevchenko wrote: > On Tue, Oct 15, 2019 at 10:07 PM Rasmus Villemoes > <linux@rasmusvillemoes.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.
Otherwise, it looks ready to go.
Thanks everybody involved for the patience.
Best Regards, Petr
| |