Re: [PATCH v1] clang-format: Update and extend the for_each list with tools/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm wondering about the ASSERT_* and EXPECT_* macros from tools/testing/selftests/kselftest_harness.h Do you think we should treat them as "for macros" as well? They can either be used with or without a following code block.


On 12/04/2022 17:58, Miguel Ojeda wrote:
Hi Mickaël,

On Tue, Apr 12, 2022 at 5:39 PM Mickaël Salaün <mic@xxxxxxxxxxx> wrote:

Add tools/ to the shell fragment generating the for_each list and update
it.  This is useful to format files in the tools directory (e.g.
selftests) with the same coding style as the kernel.

Sounds good to me. There have been discussions about doing it for the
entire tree too, so we can start with this.

Cheers,
Miguel



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux