Re: [PATCH] checkpatch: allow correctly handle full files on stdin

From: Joe Perches

Date: Thu Mar 26 2026 - 19:04:15 EST


On Thu, 2026-03-26 at 14:42 -0700, Dmitry Torokhov wrote:
> > > Because when I am editing a file I am not saving it all that often. I
> > > want to have buffer diagnostic updated when I leave insert mode in vim.
> >
> > I believe you are able to keep your own version of checkpatch.
>
> As well as my version of the kernel, gcc, clang, editor, git and so on.
>
> Do you have any constructive feedback?

I gave you feedback. You elided it.

> Right now checkpatch is broken
> when using "-f" with stdin and I offer a fix. If you have a better way
> in mind by all means share it.

Note the name. Feed it a patch. It works fine. It's not broken.