mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] sata-imx: Fix a typo
@ 2016-04-27 14:39 Andrey Smirnov
  2016-04-28 14:40 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Smirnov @ 2016-04-27 14:39 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

It looks like comma operator was accidentaly used instead of regular
semicolon. Fix this to avoid confusing future readers of the code.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 drivers/ata/sata-imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/sata-imx.c b/drivers/ata/sata-imx.c
index 6a60195..7b8036b 100644
--- a/drivers/ata/sata-imx.c
+++ b/drivers/ata/sata-imx.c
@@ -112,7 +112,7 @@ static int imx_sata_probe(struct device_d *dev)
 
 	imx_ahci->ahci.dev = dev;
 	dev->priv = &imx_ahci->ahci;
-	dev->info = ahci_info,
+	dev->info = ahci_info;
 
 	ret = ahci_add_host(&imx_ahci->ahci);
 	if (ret)
-- 
2.5.5


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] sata-imx: Fix a typo
  2016-04-27 14:39 [PATCH] sata-imx: Fix a typo Andrey Smirnov
@ 2016-04-28 14:40 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2016-04-28 14:40 UTC (permalink / raw)
  To: Andrey Smirnov; +Cc: barebox

On Wed, Apr 27, 2016 at 07:39:09AM -0700, Andrey Smirnov wrote:
> It looks like comma operator was accidentaly used instead of regular
> semicolon. Fix this to avoid confusing future readers of the code.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  drivers/ata/sata-imx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/ata/sata-imx.c b/drivers/ata/sata-imx.c
> index 6a60195..7b8036b 100644
> --- a/drivers/ata/sata-imx.c
> +++ b/drivers/ata/sata-imx.c
> @@ -112,7 +112,7 @@ static int imx_sata_probe(struct device_d *dev)
>  
>  	imx_ahci->ahci.dev = dev;
>  	dev->priv = &imx_ahci->ahci;
> -	dev->info = ahci_info,
> +	dev->info = ahci_info;
>  
>  	ret = ahci_add_host(&imx_ahci->ahci);
>  	if (ret)
> -- 
> 2.5.5
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-04-28 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-27 14:39 [PATCH] sata-imx: Fix a typo Andrey Smirnov
2016-04-28 14:40 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox