[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220930134845.ivmme6vwcluezmt5@pengutronix.de>
Date: Fri, 30 Sep 2022 15:48:45 +0200
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Petr Mladek <pmladek@...e.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
kernel@...gutronix.de
Subject: Re: [PATCH] printf: Emit "SUCCESS" if NULL is passed for %pe
On Fri, Sep 30, 2022 at 04:42:48PM +0300, Andy Shevchenko wrote:
> On Fri, Sep 30, 2022 at 03:24:24PM +0200, Uwe Kleine-König wrote:
> > On Fri, Sep 30, 2022 at 02:14:16PM +0200, Petr Mladek wrote:
> > > On Fri 2022-09-30 13:10:50, Uwe Kleine-König wrote:
>
> ...
>
> > > If get_bla() returns NULL then it means a super fault. It means
> > > that get_bla() failed and did not know why.
> >
> > OK, I think we agree that a function that might return an error pointer
> > shouldn't return NULL with the semantic "This is also an error."
>
> But it neither means "success".
Have you read and understood the patch and the discussion?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists