From patchwork Mon Mar 20 09:32:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9633539 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 38A50601E9 for ; Mon, 20 Mar 2017 09:33:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D18D27FA0 for ; Mon, 20 Mar 2017 09:33:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 217EE2807E; Mon, 20 Mar 2017 09:33:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A02B927FA0 for ; Mon, 20 Mar 2017 09:33:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753591AbdCTJdR (ORCPT ); Mon, 20 Mar 2017 05:33:17 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:54335 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753453AbdCTJc4 (ORCPT ); Mon, 20 Mar 2017 05:32:56 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0LuMNz-1c5sQV25Bv-011lNc; Mon, 20 Mar 2017 10:32:44 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman , Alan Cox , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 3/9] stating/atomisp: fix -Wold-style-definition warning Date: Mon, 20 Mar 2017 10:32:19 +0100 Message-Id: <20170320093225.1180723-3-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170320093225.1180723-1-arnd@arndb.de> References: <20170320093225.1180723-1-arnd@arndb.de> X-Provags-ID: V03:K0:zXhXgFEYeDFofikxKIDGUeVrnI8krTq8vG10WLEWDRfxcQ1h5oo lJRBbvQx0ND9NtdgWYUKFwdKse7dhyquCRUWmVAYf8mh5vuK4Obk46C4AkRgw4yoTw67t2I l/sBLrY82/93XuAJvs4qCplnP3Brw0xPdxXJs07byQZaJIMcHapEC4JywDDXiPe3x/H+h6M ol3+OGYeX+ZbWhr1wH5wA== X-UI-Out-Filterresults: notjunk:1; V01:K0:g3uINxo1C7w=:PkRrdQgypVfMX3mIv10TAY 7PExdn0UCTM+mpMC6IyR85KeCICZgLHsAEKXqjFUtLNAr4uqWConVutjfCkOnqGUjvb4HgABT E3OF5NhluTnoUkU4k/u4B/eRK4ui62E2ywGoQ7cReE822h/FvSFvJDwiV/RdGMmLjBqzvbcu+ WMZgqVRgHVAYPmZruGC1oWm3IvSNABh2FamHQ42IxTe/w0lN3uzqL2UUe9gXChlrfZHvxdhuT jr7kX8CGx+HvhgPDhEInAq7C77eXo+qiVfoWzptHPgbAQcyNDYTVigIk8RHtivMGii3WRozNx SESavFrFbM32ICowyaktwF52iLcFwJ96bC6j+NmeAFWkD4jGVkZVHibJnnW3iDezxMmhzFnxO l0kg5RFi+plzjGj0EReFQIbTikKSRY8tehcSfGRiEeJHFqPMw7YNmQunu8uCm0bzlICwoYfX8 S3AmCxdOfV5n1Bz4A5WmoF0WxfvN/h2gSoRqGvDDv+7uE/maOWeCzF82V0WP5vsOBWstq13bi JBLi+G3TKvdThLfaNAZR+Kl3Op0ePzY17jUHA6lRwNxFFSWOMj1qSsKihbWzWaIkeuE7ZASMR DAhl15bpyP6Fa9OX5Y3fRh5mX85qIiZrg0xj/9cq1BdbwuOWmvGY/rI5In2k6G7zenmkj+rtI 5M8YkySTsynr6M0qqZjJn4Gyc2TT1iUflkgezhVVCLUPQ+QucyjlGdpRuKiuXzZejnRo= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ia_css_dequeue_param_buffers does not have an arguement type, causing a warning: drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c: In function 'ia_css_dequeue_param_buffers': drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c:3728:6: error: old-style function definition [-Werror=old-style-definition] This adds a 'void' keywork to silence the warning. Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2") Signed-off-by: Arnd Bergmann --- drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c index 9d51f1c653a2..1f346394c6b1 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c @@ -3725,7 +3725,7 @@ static void sh_css_update_isp_mem_params_to_ddr( IA_CSS_LEAVE_PRIVATE("void"); } -void ia_css_dequeue_param_buffers(/*unsigned int pipe_num*/) +void ia_css_dequeue_param_buffers(/*unsigned int pipe_num*/ void) { unsigned int i; hrt_vaddress cpy;