Re: [PATCH v2 19/19] platform/x86/intel/tpmi: Describe the device creation policy on the function
From: Andy Shevchenko
Date: Thu Sep 24 2026 - 17:25:29 EST
On Thu, Sep 24, 2026 at 11:23:41AM -0700, Kuppuswamy Sathyanarayanan wrote:
> The comment explaining the error policy of tpmi_create_devices() sits
> inside the loop, between the call and the check it describes. Move it
> above the function, where it describes the policy as a whole.
>
> Also split the check into its two cases, skipping unsupported features
> and failing on any other error, so that each reads on its own.
>
> No functional change intended.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko