Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2471995pxu; Mon, 14 Dec 2020 03:15:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwG3Ln9KUfIDLyOtcDji76f9kN4W3e//iy24m6D5k1KMyf+Nevkx76J7EksaoaIWM9eq/YT X-Received: by 2002:a17:906:52da:: with SMTP id w26mr22381471ejn.347.1607944547349; Mon, 14 Dec 2020 03:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607944547; cv=none; d=google.com; s=arc-20160816; b=lzbFR6py7to9egSr+TbKVrqvAX0VM02h6HbnN+sr4COMDblBCQTx1SotmIjWa5Lkhd TfyMJseaCN+dHzm9dqkkQ8vOmk9BtwgezETg4zM5kW74VBoFgWUEg/ktvvL0ZCK62ptE kQ6PMrJrkuP/wQUhyMqEAbUOMyiziLuYTTj2YNrGpfLCKHSvQIWkqRgkmLoGoxjwd4ih F17aKkfvhDZHNh2B/exgHvDzJ3H/clqWX0YJby1DXd3b5muxe3VYUFLhzi0bGg7XLiel xHTjb2A97xgyzVkHmqQthONrHOs4ROjv0Rc20CLyfkFgXwp25BJFf65mQFF4VIRobKYL NtVA== 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=1BdXKZNHsHXBBR307AGLh3tBp88eBa6U+maEBLel2maPnUZMcgVsct7xlFDr+LG178 tavUIqHzlHh6kO9/Ind99muG/h7NdSV+OF4M7GERVDWDdl6W7PCjoABusrW7Q/f0wI3n 972WZ/jf/U2/aZCc6Xdqf4iJQ9eTktdMPDbYi/IBfiQzbXxjoLKrVuh/NOQ3ijPYGWTs bGx1oN/hJb+59W6c9grIAuKjzyfGjkHGaOxGFfhW1RycEDGm1UFj84YLTOhYRW6x0OaR iuTVv3cKIHfGIPi56KTknMIoksMhBzk5jzDC29y1ZOj7ev0uzEOZnPSHpV7Kq0by9DTV vQhA== 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 p11si9614519eja.213.2020.12.14.03.15.24; Mon, 14 Dec 2020 03:15:47 -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 S2406700AbgLNLF1 (ORCPT + 99 others); Mon, 14 Dec 2020 06:05:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407285AbgLNLEo (ORCPT ); Mon, 14 Dec 2020 06:04:44 -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 2E1EAC061793; Mon, 14 Dec 2020 03:04:04 -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 617CA240B54; Mon, 14 Dec 2020 12:02:53 +0100 (CET) Received: by cipterm0.informatik.uni-erlangen.de (Postfix, from userid 67858) id 598443280146; Mon, 14 Dec 2020 12:02:53 +0100 (CET) From: Philipp Gerlesberger To: linux-kernel@vger.kernel.org Cc: Philipp Gerlesberger , ij72uhux@stud.informatik.uni-erlangen.de, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@i4.cs.fau.de, gregkh@linuxfoundation.org, sakari.ailus@linux.intel.com, mchehab@kernel.org Subject: [PATCH v2 07/12] media: atomisp: Fix funciton decleration Date: Mon, 14 Dec 2020 12:01:51 +0100 Message-Id: <20201214110156.6152-8-Philipp.Gerlesberger@fau.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201214110156.6152-1-Philipp.Gerlesberger@fau.de> References: <20201214110156.6152-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