From: David Ahern Subject: Re: [PATCH iproute2-next] clang-format: add configuration file Date: Thu, 17 Jan 2019 14:42:46 -0700 Message-ID: References: <20190117150801.25191-1-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190117150801.25191-1-leon@kernel.org> Content-Language: en-US Sender: netdev-owner@vger.kernel.org To: Leon Romanovsky Cc: Leon Romanovsky , netdev , RDMA mailing list , Stephen Hemminger List-Id: linux-rdma@vger.kernel.org On 1/17/19 8:08 AM, Leon Romanovsky wrote: > From: Leon Romanovsky > > The codebase of iproute2 follows Linux kernel coding style, > so it will be very helpful to reuse existing clang configuration > file to reliably format code. > > For more information see kernel commit d4ef8d3ff005 > ("clang-format: add configuration file"). > > Updated upto commit v5.0-rc1 with small number of ForEachMacros. > > Signed-off-by: Leon Romanovsky > --- > .clang-format | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 130 insertions(+) > create mode 100644 .clang-format > applied to iproute2-next. Thanks