Re: [PATCH] platform/x86: think-lmi: Fix certificate thumbprint sysfs output

From: Ilpo Järvinen

Date: Tue Aug 18 2026 - 10:09:57 EST


On Mon, 10 Aug 2026 14:05:57 +0200, Thorsten Blum wrote:

> cert_thumbprint() already returns the accumulated output length, but
> certificate_thumbprint_show() adds that value to count again, making the
> next line use the wrong offset. Errors returned by cert_thumbprint() are
> also ignored and their negative values added to count.
>
> Assign the total length to count instead and propagate errors correctly.
>
> [...]

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/1] platform/x86: think-lmi: Fix certificate thumbprint sysfs output
commit: 38443e5748496086940a2033fd2102b702109287

--
i.