[PATCH 5.15 23/67] bonding: fix error checking in bond_debug_reregister()