Re: [PATCH v2 0/2] man-pages: add documentation for statmount/listmount

Alejandro Colomar
2024-06-26T22:06:03Z

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

On Thu, Jun 27, 2024 at 12:02:07AM GMT, Alejandro Colomar wrote:
> On Wed, Jun 26, 2024 at 05:50:34PM GMT, Josef Bacik wrote:
> > Err that just shows the one error, this is all of them
> >
> > https://paste.centos.org/view/b68c2fb1
>
> For skipping the cpplint(1) errors (I don't see cpplint(1) being
> packaged for Fedora according to <pkgs.org>), you can do something
> like with checkpatch:
>
> $ make -t lint-c-cpplint

Ahh, now I see why those clang-diagnostic-empty-translation-unit errors.
The above trick is creating empty translation units.

So, you'll need to do the following steps:

$ make clean
$ make -j8 -k lint build check >/dev/null 2>/dev/null
$ make -t lint-c-checkpatch lint-c-cpplint
$ make -k lint build check >out.txt 2>&1

This makes sure that you only touch those files that can't be created
otherwise, and not some other intermediate files.

Cheers
Alex

--
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]