aboutsummaryrefslogtreecommitdiffstats
path: root/lib/find_bit.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2023-01-31 16:43:22 +0000
committerMarc Kleine-Budde <[email protected]>2023-02-06 12:57:26 +0000
commit0c017f0910a7f4d90708df853b629f487c8ba739 (patch)
tree1422f2c2445a43f7f484de63b801ace84dfd8677 /lib/find_bit.c
parentcan: bittiming: can_fixup_bittiming(): report error via netlink and harmonize... (diff)
downloadkernel-0c017f0910a7f4d90708df853b629f487c8ba739.tar.gz
kernel-0c017f0910a7f4d90708df853b629f487c8ba739.zip
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/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions