[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201217095943.6b17db4f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 17 Dec 2020 09:59:43 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Ahmad Fatoum <a.fatoum@...gutronix.de>
Cc: Holger Assmann <h.assmann@...gutronix.de>,
Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...com>,
Jose Abreu <joabreu@...opsys.com>,
"David S. Miller" <davem@...emloft.net>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Rayagond Kokatanur <rayagond@...avyalabs.com>,
kernel@...gutronix.de, Michael Olbrich <m.olbrich@...gutronix.de>,
Jose Abreu <Jose.Abreu@...opsys.com>, netdev@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Richard Cochran <richardcochran@...il.com>
Subject: Re: [PATCH 1/2] net: stmmac: retain PTP-clock at hwtstamp_set
On Thu, 17 Dec 2020 09:25:48 +0100 Ahmad Fatoum wrote:
> On 17.12.20 02:13, Jakub Kicinski wrote:
> >> + netdev_warn(priv->dev, "HW Timestamping init failed: %pe\n",
> >> + ERR_PTR(ret));
> >
> > why convert to ERR_PTR and use %pe and not just %d?
>
> To get a symbolic error name if support is compiled in (note the `e' after %p).
Cool, GTK. Kind of weird we there is no equivalent int decorator, tho.
Do you happen to know why?
Powered by blists - more mailing lists