Reputation: 11
I backported mcp251xfd CAN driver for v4.9
I can see now can0
in ifconfig
but when I do:
$ sudo ip link set can0 type can bitrate 125000
$ sudo ip link set up can0
I get the following:
RTNETLINK answers: Argument list too long
It comes from the second command.
Upvotes: 0
Views: 190
Reputation: 11
I needed to comment out the check here: https://elixir.bootlin.com/linux/v4.9.170/source/drivers/base/regmap/regmap.c#L1730
These lines:
if (map->max_raw_write && map->max_raw_write < val_len)
return -E2BIG;
I saw that there no such check in newer kernel versions.
Upvotes: 1