Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2644989pxu; Mon, 7 Dec 2020 11:36:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBjyCJwqgLRQaFjRAipIcDz8svFwkgxhnc4AsHY3iuspMgGP21pYR5dxH/e5lxPWGCSEeD X-Received: by 2002:a05:6402:114b:: with SMTP id g11mr21666528edw.228.1607369813655; Mon, 07 Dec 2020 11:36:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607369813; cv=none; d=google.com; s=arc-20160816; b=TKyM/FyS5FFSR4pVxYIjedKg4zg8B6cKn8IR2xZF4B2wVNCvpPlMG2DxBGPAGmvZDm w/HgNRIFhM6AJP5XwB1N6FtT1vIMru6rpLX/WvzS5uDGhtrk37ynshnIvHnZ2uxXbbk6 lRINwBrQ2r47QFLjTlg8nD9wEX69PYbffGlgN7G434dVASHa+qk56IiUG3PLOuiHn+X5 SFn7FtMMR8Eq4AxVFR0GNquMOV1VgivsF1QCN5fI6tMe4aM55iX4kQsKNN1+iuQBIBAz cfSI8tf7mYXIdhY+NlfggyU3engephv5+sTb9hl/FC3Uv0ZyGxc4JU4MxEiMGeipxCKF UNyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VVCccK0wnlHZoE/yjZJyp2ku0sA/H1Dutzt+5u2EQPk=; b=myiFCZj8/hraLbhjRTAYfWcBn6+v5bPqSp3gaGgH7hcwZ+hmhvTVubu274Vog/GtGJ eJco+mDJoPYdw5UKp382eoPukk+0qqy6QGW6F2XYnIpvegFSbgFxzjRVrZzbMWQnA7f6 jo2571Zib0j3vRr2xIncGxZg8BVNcwpiG88Xj3FZjkL4jkiZtKem75q4ZWCSDCmNNvbE djMCQ5ltjHNwFNHK+8SE5SJLtdVE5cUx05+uwfsZshT1oDKLG/3xet2KV0Mrb8fCQcgk 8izgcG+LI7BJNoGcCvQBDsQPS6VF7oO7m6NBPlL7jDFReaxJ5mjVuso7lYRzkVpnI2eg 4tgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m11si9086778eda.522.2020.12.07.11.36.29; Mon, 07 Dec 2020 11:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726873AbgLGTbx (ORCPT + 99 others); Mon, 7 Dec 2020 14:31:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726825AbgLGTbw (ORCPT ); Mon, 7 Dec 2020 14:31:52 -0500 Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [IPv6:2001:638:a000:4130:131:188:30:103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 716F0C061749; Mon, 7 Dec 2020 11:31:12 -0800 (PST) Received: from cipterm0.informatik.uni-erlangen.de (cipterm0.cip.cs.fau.de [IPv6:2001:638:a000:4130:131:188:30:90]) by faui03.informatik.uni-erlangen.de (Postfix) with ESMTP id DFF20240EC0; Mon, 7 Dec 2020 20:30:29 +0100 (CET) Received: by cipterm0.informatik.uni-erlangen.de (Postfix, from userid 67858) id DCDE03280304; Mon, 7 Dec 2020 20:30:29 +0100 (CET) From: Philipp Gerlesberger To: linux-kernel@vger.kernel.org Cc: Philipp Gerlesberger , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, mchehab@kernel.org, sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org, ij72uhux@stud.informatik.uni-erlangen.de, linux-kernel@i4.cs.fau.de Subject: [PATCH 07/12] media: atomisp: Fix funciton decleration Date: Mon, 7 Dec 2020 20:26:34 +0100 Message-Id: <20201207192638.15219-8-Philipp.Gerlesberger@fau.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201207192638.15219-1-Philipp.Gerlesberger@fau.de> References: <20201207192638.15219-1-Philipp.Gerlesberger@fau.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Write return_type, function_name and parameters in one line because lines should not end with a '(' [OPEN_ENDED_LINE] Write open brace ’{’ on the next line to fix OPEN_BRACE Error Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c b/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c index 679ef8242574..00b54a0613bb 100644 --- a/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c +++ b/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c @@ -19,9 +19,8 @@ #include "gp_timer.h" /*gp_timer_read()*/ #include "assert_support.h" -int -ia_css_timer_get_current_tick( - struct ia_css_clock_tick *curr_ts) { +int ia_css_timer_get_current_tick(struct ia_css_clock_tick *curr_ts) +{ assert(curr_ts); if (!curr_ts) { -- 2.20.1