Home
last modified time | relevance | path

Searched hist:"0 c017f0910a7f4d90708df853b629f487c8ba739" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/can/dev/
H A Dbittiming.cdiff 0c017f0910a7f4d90708df853b629f487c8ba739 Tue Jan 31 10:43:22 CST 2023 Marc Kleine-Budde <mkl@pengutronix.de> can: bittiming: can_sjw_check(): report error via netlink and harmonize error value

If the user space has supplied an invalid SJW value (greater than the
maximum SJW value), report -EINVAL instead of -ERANGE, this better
matches the actual meaning of the error value.

Additionally report an error message via netlink to the user space.

Link: https://lore.kernel.org/all/20230202110854.2318594-13-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>