Skip to contentSkip to conversation

NET: Proper return code handling in eth_init() function in file eth.c

PATCH New Upakul Barkakaty 2 participants 2 messages Nov 28, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NET: Proper return code handling in eth_init() function in file eth.c

NET: Proper return code handling in eth_init() function in file eth.c

This patch modifies the return code handling in the eth_init() function, to be compatible with the handling of the return codes in the other network stack files. It now returns a 0 on Success and -1 on error.

Conexant E-mail Firewall (Conexant.Com) made the following annotations
---------------------------------------------------------------------
********************** Legal Disclaimer ****************************

"This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you."

**********************************************************************

---------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eth.c.patch
Type: application/octet-stream
Size: 608 bytes
Desc: eth.c.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071128/9d73a764/attachment.obj

#1 lore raw

PATCH 1/1 NET: Proper return code handling in eth_init() function in file eth.c

Upakul,

Quoted 12 lines · Upakul Barkakaty

NET: Proper return code handling in eth_init() function in file eth.c

This patch modifies the return code handling in the eth_init() function, to be compatible with the handling of the return codes in the other network stack files. It now returns a 0 on Success and -1 on error.

Conexant E-mail Firewall (Conexant.Com) made the following annotations
---------------------------------------------------------------------
********************** Legal Disclaimer ****************************

Quoted 7 lines

"This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you."

**********************************************************************

---------------------------------------------------------------------

This looks good, but I'm going to ask you to re-send with the following modifications:

1. Paste the patch in-line with your message. This makes it much easier for me to apply. If you're using Thunderbird or Evolution, select 'Preformat' as the text style to avoid line wrapping and other formatting badness.

2. Send it from an e-mail service that doesn't tack on the legal disclaimer crap.

regards,
Ben