Re: [PATCH] HID: intel-ish-hid: clamp HID device count to MAX_HID_DEVICES
From: Shen Yongchao
Date: Thu Jul 30 2026 - 08:59:14 EST
Hi Greg,
> Why min_t()? Was this generated by a LLM? If so, you have to
> document that as well.
Yes, the patch was drafted with AI assistance; the vulnerability
analysis, source-level verification, and reproducer work were
done manually. I should have disclosed that -- thank you for
asking.
And you are right about min_t(), it is unnecessarily obscure
here. v2 below uses a plain if instead.
Regards,
Shen Yongchao