[i-g-t,2/3] lib/kms: Simplify force_connectors[] error handling

Joshi, Kunal1 kunal1.joshi at intel.com
Thu Apr 11 06:15:57 UTC 2024


On 4/10/2024 8:32 PM, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> The failure to allocate a forced_connector entry is entirely
> our own fault. If we hit this then we've screwd up and made
> the array too small. Skip the error handling and just assert
> that we must have enough room in the array.
>
> Cc: Kunal Joshi <kunal1.joshi at intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
LGTM
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>


More information about the igt-dev mailing list