lkml.org 
[lkml]   [2020]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] mm/hugetlb: Fix file_region entry allocations
On Wed, Feb 19, 2020 at 6:13 AM Miguel Ojeda
<miguel.ojeda.sandonis@gmail.com> wrote:
>
> On Wed, Feb 19, 2020 at 2:32 AM Mina Almasry <almasrymina@google.com> wrote:
> >
> > - Fixed formatting issues due to clang format adding space after
> > list_for_each_entry_safe
>
> Note: that's because clang-format knows it is a for-loop-like macro,
> so it formats it as a `for`.
>

I figured it was related to that, but it's still annoying as
clang-format works perfectly for me aside from handling the
list_for_each_* macros. I tried digging into clang-format docs to find
the setting to add to the .clang-format but I couldn't find one. It
would be nice if someone fixed that.

\
 
 \ /
  Last update: 2020-02-20 00:29    [W:0.074 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site