Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1669029pxu; Thu, 17 Dec 2020 16:00:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmkjl+HJpI9htSk7/gjbhpM5qx4WpiTjzwYIT2vha90E8BO5yBaT/1ILDn3eteN7DRUrVH X-Received: by 2002:a50:e68a:: with SMTP id z10mr1883901edm.28.1608249638148; Thu, 17 Dec 2020 16:00:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608249638; cv=none; d=google.com; s=arc-20160816; b=tSdtIcGYxjKU+7pHDiRoCASFiyke5+V/hROd9UDSILjyqyurcNCQsb4YTfWxFbOpsh iu0RSn/jyqIY14JdPYqEEaZQqjgurvKVPu+S9jrsEtZ9Td67kycRbnLFYKI4Sv9ewbJr x7JhM0wF4jAjfOKABqgRL2EywsZG4bgSyQn9uXXkbCiqtWX9Hxz2jWuWDRsq84+mfuU0 7nR19u/9/woMW82ucEfCr0RUH6JMTKicfImzpXF1rpKuC8vkJ9tpcBIG3ShPTc+UL47O Fio+Sch1k0yT65tcVATTV8OGt/0QMMlC5zraPaKS+2LO6keW83gHZuY4ZIZ0m4rx457G 3OCw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=7KmU1muev4A9N2jV0lkPDBHd2wRNn8/VxA9KA9gLW2s=; b=v8NA2DKX1LPm5YLm8+MwkKWqvb7dVzkT6SJdoR0zbK9BEu+8X9MUKJQYHwnsGOWFhV VyQ2EqZooJGvXeFlPe01LC2t2yC+aiXsv1J5umIoF2yxtXviVPqzl0I7xC/08zCGtlU+ RbP2kmofONAxAXsoHHElRKyqjWqs+8YfsK85YnEITK/LLf2ay/psrdokaTRuJas68rvh May1oOp4QcctqmZV6GF259UhirBIcAySuR3bonY9Y9sSHU3KanQ1EhDI90s5LdMc+bG4 4G+Qy+bNfwFAZXJDUTLlNJimqBcep94gSQgPtm2zo+HIUsXTakHL+Ifkh+Az+7ErKMET P//w== 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 y9si5533178edq.205.2020.12.17.16.00.13; Thu, 17 Dec 2020 16:00:38 -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 S1732147AbgLQX7A (ORCPT + 99 others); Thu, 17 Dec 2020 18:59:00 -0500 Received: from smtprelay0247.hostedemail.com ([216.40.44.247]:43314 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732037AbgLQX7A (ORCPT ); Thu, 17 Dec 2020 18:59:00 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 6BBEA181D337B; Thu, 17 Dec 2020 23:58:19 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:857:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3866:3872:4321:5007:8879:10004:10400:10848:11026:11232:11657:11658:11914:12043:12296:12297:12438:12683:12740:12895:13069:13311:13357:13439:13894:14110:14659:14721:21080:21627:21773:21796:30036:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: limit53_2f0fb3827438 X-Filterd-Recvd-Size: 1969 Received: from XPS-9350.home (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf10.hostedemail.com (Postfix) with ESMTPA; Thu, 17 Dec 2020 23:58:17 +0000 (UTC) Message-ID: <04c331f6bfce57c253cb86208ebd28f6363e04c0.camel@perches.com> Subject: Re: [PATCH] staging: most: video: fixed a parentheses coding style issue. From: Joe Perches To: Daniel West , gregkh@linuxfoundation.org Cc: hverkuil-cisco@xs4all.nl, mchehab+huawei@kernel.org, christian.gromm@microchip.com, masahiroy@kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Thu, 17 Dec 2020 15:58:16 -0800 In-Reply-To: <20201217234501.351725-1-daniel.west.dev@gmail.com> References: <20201217234501.351725-1-daniel.west.dev@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-12-17 at 15:45 -0800, Daniel West wrote: > Fixed a coding style issue. It may pass checkpatch without warning, but it's uncommon kernel coding style. > diff --git a/drivers/staging/most/video/video.c b/drivers/staging/most/video/video.c [] > @@ -365,8 +365,8 @@ static const struct video_device comp_videodev_template = { > ? > > ?/**************************************************************************/ > ? > > -static struct most_video_dev *get_comp_dev( > - struct most_interface *iface, int channel_idx) > +static struct most_video_dev *get_comp_dev > + (struct most_interface *iface, int channel_idx) This would be better using any of: (most common) static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx) or (less common) static struct most_video_dev * get_comp_dev(struct most_interface *iface, int channel_idx) or (> 80 columns) static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx)