mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
If register_hdlc_device() fails, the current code returns 0 but we should return an error code instead. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>