Re: [PATCH v3 3/9] scripts/checkpatch: introduce tracking of file start/end

2025-05-19 Thread Peter Maydell
On Thu, 15 May 2025 at 14:59, Daniel P. Berrangé wrote: > > Some checks want to be performed either at the start of a new file > within a patch, or at the end. This is complicated by the fact that > the information relevant to the check may be spread across multiple > lines. It is further complica

[PATCH v3 3/9] scripts/checkpatch: introduce tracking of file start/end

2025-05-15 Thread Daniel P . Berrangé
Some checks want to be performed either at the start of a new file within a patch, or at the end. This is complicated by the fact that the information relevant to the check may be spread across multiple lines. It is further complicated by a need to support both git and non-git diffs, and special ha