[PATCH 6.17 351/563] drivers/base/node: handle error properly in register_one_node()