[PATCH v2 2/3] part: Fix bogus return from part_get_info_by_dev_and_name