Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753719AbcKIM5R (ORCPT ); Wed, 9 Nov 2016 07:57:17 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:54090 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753196AbcKIM5O (ORCPT ); Wed, 9 Nov 2016 07:57:14 -0500 From: Arnd Bergmann To: Jens Axboe Cc: Christoph Hellwig , Arnd Bergmann , Johannes Thumshirn , Ming Lin , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] skd: fix function prototype Date: Wed, 9 Nov 2016 13:55:35 +0100 Message-Id: <20161109125555.1440353-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20161109125555.1440353-1-arnd@arndb.de> References: <20161109125555.1440353-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:Oa4U0jUQoaNTNA0LEFP8YGv1/G28nod8TBplSc+K6WBjByM9gyk Rv2/4XUyOpByQ+ChI9SpCECtuFBZlBKBJ/Xi3hiYKkeQRAo8MWNzKRN21UADyMUitGlyiS9 3qWeAgcoCJwfXZUzRngJ971hZ4zNZDfxLn9Vu+I3vd4CjGxLBnv7M+mVnEykyTIWANE1U6E ZBH6iD5QR55l9V7pkcjdg== X-UI-Out-Filterresults: notjunk:1;V01:K0:dVipz7jxQ+s=:jeinGuBlTLmwXncwe95pC/ 85owF5c1TGiMWdxBlxFXKQkCxFnjFxI4ep/FLAP7UArXy8d4cNEjSkN9haR8ZSiMr7lHyQriT XUVSm+1ZVCumecGauKiBzuSxd8RtwW0FfpmPFTBwvOf0pyjpCyVcinY+YIFQo3LUpuoIEWzTw 32KNSRWQs/iMjRCe5yzIVj4OVq9osTThY4EM/ivOMlnu7D+T8GGT3SfBK62LxQKYsPOSL1Wgo sO8G9yIAYLqGVKlkV2tfBdRKhEMh6qK3W5DlbofNyF/FShiRJ3/vPhyvtntR0l8V9IAJtIxI1 F9w+kvqGNcFW2GGtSfE/p+dX+CSr9u1NkfvSmtnF3/dvHYfwR41YLMGZpnrTKXNR82nysDER5 I+wMaP0h4CQo0qeKytJ7fj6llHTKE2379stADS5+q54w+GeNeH3dubKu/UHxEmnTTZRA5ZfW0 VIxU/EljPNG8QnJbm70+BbJf7+/+PZjmwBFgt6niWYEia53cINr7KZCKMjdGpxmVxu/Ls8J1J k9bFGL1TfgWDhRTVOia3tOp3iJVmclIM11gvUUDVYqu3sTv37QDSjNCO25e/pJKaeFJCyW8W4 ThoCGGsKC152W885uFCEM1/2DwbBdEyc/qVK8NXzrtAtp/rmVMnsS99hjtawFxsGVo01zNlIx tjsGQgtQtLZM3CQcygkGJQu1Y6xoHAbyLXx9hvWZ1jVdIi+hXCQKAVvo6kB5b8UPRqouVUINx DsA36yUkcrplEeW1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 28 Building with W=1 shows a harmless warning for the skd driver: drivers/block/skd_main.c:2959:1: error: ‘static’ is not at beginning of declaration [-Werror=old-style-declaration] This changes the prototype to the expected formatting. Signed-off-by: Arnd Bergmann --- drivers/block/skd_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c index 66146b349229..1e536b97f802 100644 --- a/drivers/block/skd_main.c +++ b/drivers/block/skd_main.c @@ -2945,8 +2945,8 @@ static void skd_completion_worker(struct work_struct *work) static void skd_isr_msg_from_dev(struct skd_device *skdev); -irqreturn_t -static skd_isr(int irq, void *ptr) +static irqreturn_t +skd_isr(int irq, void *ptr) { struct skd_device *skdev; u32 intstat; -- 2.9.0