Don't Ask, Don't Tell
Don't Ask, Don't Tell
Posted Aug 11, 2025 7:47 UTC (Mon) by kleptog (subscriber, #1183)In reply to: Don't Ask, Don't Tell by Wol
Parent article: On the use of LLM assistants for kernel development
> Having seen some AI code (that I was given) I wasn't impressed. It did the job, but it wasn't what I would have expected from someone who knew our coding style.
But then it's easy right? "Doesn't match our coding style" is a perfectly valid reason to reject a patch.
I believe I got it from the PostgreSQL lists: after your patch the code should look like it's always been there.
Arguably, if new code doesn't follow the coding style (which is much broader than just where to put whitespace) then the author has not yet understood the code we'll enough to be submitting. Which covers the LLM case perfectly.
