DriverDev-Devel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] staging: media: Fix alignment to match open parenthesis
@ 2019-09-11 16:56 Amol Grover
  2019-10-09 13:02 ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: Amol Grover @ 2019-09-11 16:56 UTC (permalink / raw)
  To: Steve Longerbeam
  Cc: devel, Sascha Hauer, linux-kernel, Philipp Zabel,
	Mauro Carvalho Chehab, Shawn Guo, linux-media

CHECK: Alignment should match open parenthesis

Signed-off-by: Amol Grover <frextrite@gmail.com>
---
 drivers/staging/media/imx/imx-media-csi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/media/imx/imx-media-csi.c b/drivers/staging/media/imx/imx-media-csi.c
index 367e39f5b382..773b3d6964cf 100644
--- a/drivers/staging/media/imx/imx-media-csi.c
+++ b/drivers/staging/media/imx/imx-media-csi.c
@@ -627,8 +627,8 @@ static int csi_idmac_start(struct csi_priv *priv)
 	}
 
 	priv->nfb4eof_irq = ipu_idmac_channel_irq(priv->ipu,
-						 priv->idmac_ch,
-						 IPU_IRQ_NFB4EOF);
+						  priv->idmac_ch,
+						  IPU_IRQ_NFB4EOF);
 	ret = devm_request_irq(priv->dev, priv->nfb4eof_irq,
 			       csi_idmac_nfb4eof_interrupt, 0,
 			       "imx-smfc-nfb4eof", priv);
@@ -1472,7 +1472,7 @@ static void csi_try_fmt(struct csi_priv *priv,
 			imx_media_enum_mbus_format(&code, 0,
 						   CS_SEL_ANY, false);
 			*cc = imx_media_find_mbus_format(code,
-							CS_SEL_ANY, false);
+							 CS_SEL_ANY, false);
 			sdformat->format.code = (*cc)->codes[0];
 		}
 
-- 
2.20.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: media: Fix alignment to match open parenthesis
  2019-09-11 16:56 [PATCH] staging: media: Fix alignment to match open parenthesis Amol Grover
@ 2019-10-09 13:02 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2019-10-09 13:02 UTC (permalink / raw)
  To: Amol Grover, Steve Longerbeam
  Cc: devel, Sascha Hauer, linux-kernel, Philipp Zabel,
	Mauro Carvalho Chehab, Shawn Guo, linux-media

Hi Amol,

For future reference: always include the driver name in the subject.

I've added "imx: " to the subject for you, so no need to resend, but
the driver name is important information.

Regards,

	Hans

On 9/11/19 6:56 PM, Amol Grover wrote:
> CHECK: Alignment should match open parenthesis
> 
> Signed-off-by: Amol Grover <frextrite@gmail.com>
> ---
>  drivers/staging/media/imx/imx-media-csi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/media/imx/imx-media-csi.c b/drivers/staging/media/imx/imx-media-csi.c
> index 367e39f5b382..773b3d6964cf 100644
> --- a/drivers/staging/media/imx/imx-media-csi.c
> +++ b/drivers/staging/media/imx/imx-media-csi.c
> @@ -627,8 +627,8 @@ static int csi_idmac_start(struct csi_priv *priv)
>  	}
>  
>  	priv->nfb4eof_irq = ipu_idmac_channel_irq(priv->ipu,
> -						 priv->idmac_ch,
> -						 IPU_IRQ_NFB4EOF);
> +						  priv->idmac_ch,
> +						  IPU_IRQ_NFB4EOF);
>  	ret = devm_request_irq(priv->dev, priv->nfb4eof_irq,
>  			       csi_idmac_nfb4eof_interrupt, 0,
>  			       "imx-smfc-nfb4eof", priv);
> @@ -1472,7 +1472,7 @@ static void csi_try_fmt(struct csi_priv *priv,
>  			imx_media_enum_mbus_format(&code, 0,
>  						   CS_SEL_ANY, false);
>  			*cc = imx_media_find_mbus_format(code,
> -							CS_SEL_ANY, false);
> +							 CS_SEL_ANY, false);
>  			sdformat->format.code = (*cc)->codes[0];
>  		}
>  
> 

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 16:56 [PATCH] staging: media: Fix alignment to match open parenthesis Amol Grover
2019-10-09 13:02 ` Hans Verkuil

DriverDev-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/driverdev-devel/0 driverdev-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 driverdev-devel driverdev-devel/ https://lore.kernel.org/driverdev-devel \
		driverdev-devel@linuxdriverproject.org devel@driverdev.osuosl.org driverdev-devel@archiver.kernel.org
	public-inbox-index driverdev-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.linuxdriverproject.driverdev-devel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox