Re: can: Use common error handling code in vxcan_newlink()
From: Oliver Hartkopp
Date: Sun Oct 29 2017 - 06:52:12 EST
Hi Markus,
this discussion went far beyond the original posted patch for vxcan.c
I would suggest you post your idea of the simplified error handling flow
in vxcan.c just on linux-can ML (which is the right mailing list for CAN
related stuff).
Thanks,
Oliver
On 10/28/2017 10:13 PM, SF Markus Elfring wrote:
Are you interested in related adjustments for a bigger code base?
No. Definitely not.
You might have noticed that I am proposing similar changes already
for other software modules. ;-)
If you aim for the the deletion of â < 0â for all rtnl_configure_link() users
you would need to do this consistently.
How do you see the software situation around a function
like âregister_netdeviceâ?
Regards,
Markus