diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-01-31 19:43:22 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-02-06 15:57:26 +0300 |
commit | 0c017f0910a7f4d90708df853b629f487c8ba739 (patch) | |
tree | 1422f2c2445a43f7f484de63b801ace84dfd8677 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | de82d6185b82193e5f798592ed350a3788b78a15 (diff) | |
download | linux-0c017f0910a7f4d90708df853b629f487c8ba739.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions