Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2354472ybv; Mon, 24 Feb 2020 03:50:41 -0800 (PST) X-Google-Smtp-Source: APXvYqwsF+GnGlHFp1TIGhdwKtBOF9RONVgkbyDeYbrZ4GUDfjVD+7KnCGlbLrRv2Q0ERy9/YCQx X-Received: by 2002:a05:6830:12c3:: with SMTP id a3mr41111431otq.341.1582545041561; Mon, 24 Feb 2020 03:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582545041; cv=none; d=google.com; s=arc-20160816; b=P4RJVUTAwCbqGcZ7OGxckdfArQ+SWt+O45q2jhCgtVRHJc8eU9ng3q97GmNdgQWt2G k1/9H1gPVt/PeNpkwG5ksb5JWoD81gnBq7Hb5/SIXE6MYWopZ5dB+8+DFuFdIsQNSAlI JSSoWtIFtTMuukRKmYHnXXXm49sSu36szGHKfLkOtywC69AtPKiDWiVyb4WM8B0AOjjE 6C2SYE2p5wVzXnRZREUKJGWlTwjAflt3LLDl4Z5PX8LxdITdQepdhwqg1FWL6ymQ74Fy bqFljPwnUehOBcyJ2bSXR7sCYKuqHdyVetPmWzRgILoIAF2Ss7D355wilkj0rQaGV48j NDdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qJ5fouVtC3cffDs3bFcndHbGmYWY9jyxLx1CF8Iokpc=; b=TO/fJrV3PGG+JPDWtJtIA+Blrn+oPym/Feq5sq+6/E5NyWFdwMrWbdjHck3vYTdcyH XiCnQyY+/UHjCo3eqoohXk55KJWxr/stnWTMKs22iC0pw634u/XGNXhwRkynz2C5EI/d S6tDmygm8mQ9p2eW1vaXe1loirkB5LL6HDt8Xz77Ddj0XAdvu5/0TRWjIGvb8zZylEm/ ID0EarIY5VL2qVYJVqt9vfPgjc3i+5VHYMHVIdDGUO0c0Xqijw4P2+vW5wj2WHnMru1V IMgQK6FHH3DwL7C4MrXZ/CHuQz6zE/SXWn7A+QUCgITY3oRqi0lgQYYd7mv2wmQ8qP64 unCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ugYQv4c3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si5278396oie.52.2020.02.24.03.50.29; Mon, 24 Feb 2020 03:50:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ugYQv4c3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727368AbgBXLtx (ORCPT + 99 others); Mon, 24 Feb 2020 06:49:53 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:47118 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727318AbgBXLtx (ORCPT ); Mon, 24 Feb 2020 06:49:53 -0500 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 12C21E89; Mon, 24 Feb 2020 12:49:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1582544991; bh=VVerRb6P9n4J0byG4RDsnhoDAwB4cAvUJUyugM/0Jkc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ugYQv4c39w/BkPop3ddbphnw7qyYCMDbqcgPLKuDgjGcZC5LoOJius+czrFIHnrb+ u816peG8yGigqAo9ygdzkTC9q7i8yW3GmL2ZSQlkPVa5pSTcbXErFNcBc5VMpcR6Cd Zk0y5c8XWW8nPgbWZw6H0KcjPP3rblcv841JCdU8= Date: Mon, 24 Feb 2020 13:49:29 +0200 From: Laurent Pinchart To: Kaaira Gupta Cc: Vaibhav Agarwal , Mark Greer , Johan Hovold , Alex Elder , Greg Kroah-Hartman , greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [greybus-dev] [PATCH] staging: greybus: match parenthesis alignment Message-ID: <20200224114929.GB4827@pendragon.ideasonboard.com> References: <20200219195651.GA485@kaaira-HP-Pavilion-Notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200219195651.GA485@kaaira-HP-Pavilion-Notebook> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kaaira, Thank you for the patch. On Thu, Feb 20, 2020 at 01:26:51AM +0530, Kaaira Gupta wrote: > Fix checkpatch.pl warning of alignment should match open parenthesis in > audio_codec.c > > Signed-off-by: Kaaira Gupta > --- > drivers/staging/greybus/audio_codec.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c > index 08746c85dea6..d62f91f4e9a2 100644 > --- a/drivers/staging/greybus/audio_codec.c > +++ b/drivers/staging/greybus/audio_codec.c > @@ -70,7 +70,7 @@ static int gbaudio_module_enable_tx(struct gbaudio_codec_info *codec, > i2s_port = 0; /* fixed for now */ > cportid = data->connection->hd_cport_id; > ret = gb_audio_apbridgea_register_cport(data->connection, > - i2s_port, cportid, > + i2s_port, cportid, > AUDIO_APBRIDGEA_DIRECTION_TX); I'm curious to know why you think the line you changed deserves a modification, while the next one doesn't :-) > if (ret) { > dev_err_ratelimited(module->dev, > @@ -160,7 +160,7 @@ static int gbaudio_module_disable_tx(struct gbaudio_module_info *module, int id) > i2s_port = 0; /* fixed for now */ > cportid = data->connection->hd_cport_id; > ret = gb_audio_apbridgea_unregister_cport(data->connection, > - i2s_port, cportid, > + i2s_port, cportid, > AUDIO_APBRIDGEA_DIRECTION_TX); > if (ret) { > dev_err_ratelimited(module->dev, > @@ -205,7 +205,7 @@ static int gbaudio_module_enable_rx(struct gbaudio_codec_info *codec, > i2s_port = 0; /* fixed for now */ > cportid = data->connection->hd_cport_id; > ret = gb_audio_apbridgea_register_cport(data->connection, > - i2s_port, cportid, > + i2s_port, cportid, > AUDIO_APBRIDGEA_DIRECTION_RX); > if (ret) { > dev_err_ratelimited(module->dev, > @@ -295,7 +295,7 @@ static int gbaudio_module_disable_rx(struct gbaudio_module_info *module, int id) > i2s_port = 0; /* fixed for now */ > cportid = data->connection->hd_cport_id; > ret = gb_audio_apbridgea_unregister_cport(data->connection, > - i2s_port, cportid, > + i2s_port, cportid, > AUDIO_APBRIDGEA_DIRECTION_RX); > if (ret) { > dev_err_ratelimited(module->dev, -- Regards, Laurent Pinchart