Skip to contentSkip to conversation

smc911x_eeprom

PATCH New Sergey Alyoshin 3 participants 4 messages Jun 29, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 smc911x_eeprom

smc911x_eeprom: smc911x_detect_chip() function return 0 on success

(quoted diff) +0 -0

b/examples/standalone/smc911x_eeprom.c
index 104047f..cb3c131 100644

examples/standalone/smc911x_eeprom.c +1 -1
@@ -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);
#1 lore raw

PATCH 1/1 smc911x_eeprom

Hi Sergey,

Quoted 16 lines · Sergey Alyoshin

smc911x_eeprom: smc911x_detect_chip() function return 0 on success

examples/standalone/smc911x_eeprom.c +1 -1
index 104047f..cb3c131 100644
@@ -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);
Quoted 5 lines

_______________________________________________
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

#2 lore raw

PATCH 1/1 smc911x_eeprom

In reply to Sergey Alyoshin
Quoted 1 line · 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

Review

Quoted 2 lines
(quoted diff) +0 -0

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

#3 lore raw

PATCH 1/1 smc911x_eeprom

Ok, ok, I get it.

Quoted 15 lines · Mike Frysinger
Quoted 1 line · 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

Review

Quoted 2 lines
(quoted diff) +0 -0

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