Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965413AbcJFJdG (ORCPT ); Thu, 6 Oct 2016 05:33:06 -0400 Received: from mout.web.de ([212.227.17.12]:60970 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965249AbcJFJdC (ORCPT ); Thu, 6 Oct 2016 05:33:02 -0400 Subject: [PATCH 32/54] md/raid5: Move a brace for three designated initialisers To: linux-raid@vger.kernel.org, Christoph Hellwig , Guoqing Jiang , Jens Axboe , Mike Christie , Neil Brown , Shaohua Li , Tomasz Majchrzak References: <566ABCD9.1060404@users.sourceforge.net> <786843ef-4b6f-eb04-7326-2f6f5b408826@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <8840baf8-f954-0051-c082-26bcca99bb45@users.sourceforge.net> Date: Thu, 6 Oct 2016 11:32:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <786843ef-4b6f-eb04-7326-2f6f5b408826@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:lTG1n6ghD7Vk5rZ5QXapwkuxpCBDCcIyiyR5dV1Sr7Rq+RtZ4C2 T2X8jbwLWZ2a8YfJ3N8elOaZaS/oY/kLjoCBaNQgT/K1kpjOUJh1j5qS/ZHUbz5U63HKFWI BmqgfeodRn81fxaGRKGw1GEacQx3Pi4jUFvV9sdR13xRGFiOPDdIAXVqwopXuE7mpgLLKJN RqmrV2xSYLN6Z6sQay6SA== X-UI-Out-Filterresults: notjunk:1;V01:K0:+y1sbh/Av0g=:NvDPMFqt3t6vlChsUNX7Y6 9TojDEZHa2PC4vHdNPOF0PFLpWrHiCiuIRtSlhOhlzxYlTmtC5IA9LVzQUEr1C/gywdeSAwRT 6n4hpzV0naTHdi6LDCOYHanDuhRQLcIMwaxbZeF5C4L6nBcmgd9H8toAC1UgtGMUHdBOM/3WI gi0hy0nwtFoMDVwB65hWe+KmGg6HzybongmDMw+RwEA4M6+rkFZgNa64nhcYR2M38AgiNvs0/ tUpF0MAqfBmxQUa6ViinxqWIaL160CCk2a1RiFuzIIUtmEJK9h0UZwTemgoq9DHtiM8TLsGj7 KQw1Eoh7dFCu6bfvEvvALO55m9FyIo+149bUdy7aBOtvevqCrj/ljX78TgkN30YA2+8wmJmFf 1GRdOon5K3cVYcFF1OAICp1I+pxE4Fe+knhmHH/BVhSHJwB9qJCMu7X1c8kU6MnxLL0IVcAYH ub0/nqzGDdz9wCyhpiMn7RHqh+yFPw0n+T+/YmN0jrY6NH184SfyW8vle3tk3pzyEAUxeLVCc 0iDLSk1+Idq231xIwty8tZ/uVtVTF477vQs3A2RNuztFGivmLRzUtQkGBqAd/rhOdBFaRumJX lilFBMuD8U/oLg69OmiNhKPjZTmFZCaQkwLLAI+4hqxLrcfpDsOIjFHjvU+Obs2lqYXiCoX4q xJaGrfuTMY+h+BzqQ8CHl4YDbGRz6Uv8oExCTDxVNLMz/ubH8RzftWLBk9rtGeMPvNU6u82Z7 5rjr47CbxbAuGnd7Zp+vdxAVPRMaWOQC/961SBCwxHAybtUY2lNfbuwnDvIDvAyix5axLJiDo goVv+Xj Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1392 Lines: 49 From: Markus Elfring Date: Wed, 5 Oct 2016 10:20:05 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: that open brace { should be on the previous line Signed-off-by: Markus Elfring --- drivers/md/raid5.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index a37f1f9..f2473fa0 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -7868,8 +7868,7 @@ static void *raid6_takeover(struct mddev *mddev) return setup_conf(mddev); } -static struct md_personality raid6_personality = -{ +static struct md_personality raid6_personality = { .name = "raid6", .level = 6, .owner = THIS_MODULE, @@ -7891,8 +7890,7 @@ static struct md_personality raid6_personality = .takeover = raid6_takeover, .congested = raid5_congested, }; -static struct md_personality raid5_personality = -{ +static struct md_personality raid5_personality = { .name = "raid5", .level = 5, .owner = THIS_MODULE, @@ -7914,9 +7912,7 @@ static struct md_personality raid5_personality = .takeover = raid5_takeover, .congested = raid5_congested, }; - -static struct md_personality raid4_personality = -{ +static struct md_personality raid4_personality = { .name = "raid4", .level = 4, .owner = THIS_MODULE, -- 2.10.1