[SLOF] [PATCH slof v3 0/4] net-snk: Fix coding style
Alexey Kardashevskiy
aik at ozlabs.ru
Fri Jan 22 12:03:36 AEDT 2016
Here are some cleanups in network snk, many suggested by Thomas.
This successfully boots via DHCP+TFTP, both IPv4 and IPv6.
Please comment. Thanks.
Changes:
v2:
* redid 1/4: indents, removes few braces
Alexey Kardashevskiy (4):
net-snk: Fix coding style
net-snk: Fix gcc warnings
ethernet: Fix gcc warnings
dhcp: Remove duplicated strtoip()
clients/net-snk/app/netlib/dhcp.c | 196 ++++++++++++----------------------
clients/net-snk/app/netlib/ethernet.c | 42 ++++----
clients/net-snk/app/netlib/ipv4.c | 113 ++++++++------------
clients/net-snk/app/netlib/ipv4.h | 6 +-
clients/net-snk/app/netlib/ipv6.c | 63 ++++-------
clients/net-snk/app/netlib/ipv6.h | 2 +-
clients/net-snk/app/netlib/tcp.c | 16 ++-
clients/net-snk/app/netlib/tftp.c | 51 ++++-----
clients/net-snk/app/netlib/udp.c | 26 ++---
clients/net-snk/app/netlib/udp.h | 2 +-
10 files changed, 203 insertions(+), 314 deletions(-)
--
2.5.0.rc3
More information about the SLOF
mailing list