public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] smc911x_eeprom
@ 2010-06-29 14:59 Sergey Alyoshin
  2010-06-29 16:28 ` Ben Warren
  2010-06-29 19:44 ` Mike Frysinger
  0 siblings, 2 replies; 4+ messages in thread
From: Sergey Alyoshin @ 2010-06-29 14:59 UTC (permalink / raw)
  To: u-boot

smc911x_eeprom: smc911x_detect_chip() function return 0 on success

diff --git a/examples/standalone/smc911x_eeprom.c
b/examples/standalone/smc911x_eeprom.c
index 104047f..cb3c131 100644
--- a/examples/standalone/smc911x_eeprom.c
+++ b/examples/standalone/smc911x_eeprom.c
@@ -240,7 +240,7 @@ static void dump_eeprom(struct eth_device *dev)
 static int smc911x_init(struct eth_device *dev)
 {
 	/* See if there is anything there */
-	if (!smc911x_detect_chip(dev))
+	if (smc911x_detect_chip(dev))
 		return 1;

 	smc911x_reset(dev);

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

* [U-Boot] [PATCH] smc911x_eeprom
  2010-06-29 14:59 [U-Boot] [PATCH] smc911x_eeprom Sergey Alyoshin
@ 2010-06-29 16:28 ` Ben Warren
  2010-06-29 19:44 ` Mike Frysinger
  1 sibling, 0 replies; 4+ messages in thread
From: Ben Warren @ 2010-06-29 16:28 UTC (permalink / raw)
  To: u-boot

Hi Sergey,

On 6/29/2010 7:59 AM, Sergey Alyoshin wrote:
> smc911x_eeprom: smc911x_detect_chip() function return 0 on success
>
> diff --git a/examples/standalone/smc911x_eeprom.c
> b/examples/standalone/smc911x_eeprom.c
> index 104047f..cb3c131 100644
> --- a/examples/standalone/smc911x_eeprom.c
> +++ b/examples/standalone/smc911x_eeprom.c
> @@ -240,7 +240,7 @@ static void dump_eeprom(struct eth_device *dev)
>   static int smc911x_init(struct eth_device *dev)
>   {
>   	/* See if there is anything there */
> -	if (!smc911x_detect_chip(dev))
> +	if (smc911x_detect_chip(dev))
>   		return 1;
>
>   	smc911x_reset(dev);
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>    
Somebody beat you to it.  See commit 
88fd3dbe7dac275bc2ae7727c7ebd293c53780c0 in net/next.

regards,
Ben

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

* [U-Boot] [PATCH] smc911x_eeprom
  2010-06-29 14:59 [U-Boot] [PATCH] smc911x_eeprom Sergey Alyoshin
  2010-06-29 16:28 ` Ben Warren
@ 2010-06-29 19:44 ` Mike Frysinger
  2010-06-29 20:40   ` Sergey Alyoshin
  1 sibling, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2010-06-29 19:44 UTC (permalink / raw)
  To: u-boot

On Tuesday, June 29, 2010 10:59:02 Sergey Alyoshin wrote:
> smc911x_eeprom: smc911x_detect_chip() function return 0 on success

this should be the subject, not the changelog

> 
> diff --git a/examples/standalone/smc911x_eeprom.c

you're missing a signed-off-by tag which means your patch cannot be accepted

this ignores the fact that someone has already sent in a patch for this issue 
and that has been added ;)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100629/da08116f/attachment.pgp 

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

* [U-Boot] [PATCH] smc911x_eeprom
  2010-06-29 19:44 ` Mike Frysinger
@ 2010-06-29 20:40   ` Sergey Alyoshin
  0 siblings, 0 replies; 4+ messages in thread
From: Sergey Alyoshin @ 2010-06-29 20:40 UTC (permalink / raw)
  To: u-boot

Ok, ok, I get it.


On 6/29/10, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tuesday, June 29, 2010 10:59:02 Sergey Alyoshin wrote:
>> smc911x_eeprom: smc911x_detect_chip() function return 0 on success
>
> this should be the subject, not the changelog
>
>>
>> diff --git a/examples/standalone/smc911x_eeprom.c
>
> you're missing a signed-off-by tag which means your patch cannot be accepted
>
> this ignores the fact that someone has already sent in a patch for this
> issue
> and that has been added ;)
> -mike
>

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

end of thread, other threads:[~2010-06-29 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 14:59 [U-Boot] [PATCH] smc911x_eeprom Sergey Alyoshin
2010-06-29 16:28 ` Ben Warren
2010-06-29 19:44 ` Mike Frysinger
2010-06-29 20:40   ` Sergey Alyoshin

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