Re: [PATCH] HID: intel-ish-hid: clamp HID device count to MAX_HID_DEVICES
Shen Yongchao <[email protected]> Thu, 30 Jul 2026 20:24:57 +0800
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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