mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
If register_hdlc_device() fails, the current code returns 0 but we should return an error code instead. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>