[PATCH 6.1 026/114] bonding: fix error checking in bond_debug_reregister()