lkml.org 
[lkml]   [2021]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] can-isotp: Add more comprehensive error messages
Date
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(-)

--
2.17.1

\
 
 \ /
  Last update: 2021-04-27 07:22    [W:0.090 / U:1.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site