[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250813-small-pampas-deer-ca14d9-mkl@pengutronix.de>
Date: Wed, 13 Aug 2025 10:12:03 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Stefan Mätje <stefan.maetje@....eu>
Cc: Vincent Mailhol <mailhol.vincent@...adoo.fr>,
Frank Jungclaus <frank.jungclaus@....eu>, linux-can@...r.kernel.org, socketcan@....eu,
Simon Horman <horms@...nel.org>, Olivier Sobrie <olivier@...rie.be>,
Oliver Hartkopp <socketcan@...tkopp.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 5/6] can: esd_usb: Rework display of error messages
On 11.08.2025 23:06:10, Stefan Mätje wrote:
> - esd_usb_open(): Get rid of duplicate "couldn't start device: %d\n"
> message already printed from esd_usb_start().
> - Added the printout of error codes together with the error messages
> in esd_usb_close() and some in esd_usb_probe(). The additional error
> codes should lead to a better understanding what is really going
> wrong.
> - Fix duplicate printout of network device name when network device
> is registered. Add an unregister message for the network device
> as counterpart to the register message.
If you want to print errors, please use '"%pE", ERR_PTR(err)', that will
decode the error code into human readable form.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists