lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 4/4] [PATCH 4/4] mm: add tracing for VMA merges
On Fri, Feb 18, 2022 at 01:09:20PM -0500, Steven Rostedt wrote:
> Please indent the above better. That is:
>
> __entry->diff_count = (merge_prev == AV_MERGE_DIFFERENT)
> + (merge_next == AV_MERGE_DIFFERENT)
> + (merge_both == AV_MERGE_DIFFERENT);

I thought our coding style preferred trailing operators; that is:

__entry->diff_count = (merge_prev == AV_MERGE_DIFFERENT) +
(merge_next == AV_MERGE_DIFFERENT) +
(merge_both == AV_MERGE_DIFFERENT);

\
 
 \ /
  Last update: 2022-02-18 19:46    [W:0.102 / U:2.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site