mbox series

[v2,0/3] can-isotp: Add more comprehensive error messages

Message ID 20210427052150.2308-1-menschel.p@posteo.de
Headers show
Series can-isotp: Add more comprehensive error messages | expand

Message

Patrick Menschel April 27, 2021, 5:21 a.m. UTC
This patch series adds more comprehensive error messages to isotp.c by
using error pointers instead of decimal error numbers.

https://www.kernel.org/doc/html/latest/core-api/printk-formats.html#error-pointers

It also adds a more comprehensive error message in case txqueue is full
due to a burst transfer, telling the user to increase txqueuelen to 
prevent this from happening.


Patrick Menschel (3):
  can-isotp: Change error format from decimal to symbolic error names
  can-isotp: Add symbolic error message to isotp_module_init()
  can-isotp: Add error message if txqueuelen is too small

 net/can/isotp.c | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)