Thread (26 messages) 26 messages, 5 authors, 2025-08-19

Re: [PATCH 5/6] can: esd_usb: Rework display of error messages

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2025-08-13 08:12:09
Also in: linux-can

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   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help