[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210427052150.2308-1-menschel.p@posteo.de>
Date: Tue, 27 Apr 2021 05:21:46 +0000
From: Patrick Menschel <menschel.p@...teo.de>
To: Oliver Hartkopp <socketcan@...tkopp.net>,
Marc Kleine-Budde <mkl@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, linux-can@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/3] can-isotp: Add more comprehensive error messages
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
Powered by blists - more mailing lists