On Sun, Oct 30, 2022 at 7:38 PM Nir Soffer <nsof...@redhat.com> wrote:
> On Wed, Oct 26, 2022 at 4:54 PM Hanna Reitz <hre...@redhat.com> wrote: > >> On 01.09.22 16:32, Nir Soffer wrote: >> > [...] > > + /* The current chunk. */ >> > + int64_t offset; >> > + int64_t length; >> > + bool zero; >> > + >> > + /* Always true for zero extent, false for data extent. Set to true >> > + * when reading the chunk completes. */ >> >> Qemu codestyle requires /* and */ to be on separate lines for multi-line >> comments (see checkpatch.pl). >> > > I'll change that. Do we have a good way to run checkpatch.pl when using > git-publish? > > Maybe a way to run checkpatch.pl on all patches generated by git publish > automatically? > I found https://blog.vmsplice.net/2011/03/how-to-automatically-run-checkpatchpl.html and it seems to work well.