[PATCH 5.4 070/156] bonding: fix error checking in bond_debug_reregister()