[SLOF] [PATCH slof v2 0/4] net-snk: Fix coding style

Alexey Kardashevskiy aik at ozlabs.ru
Thu Jan 21 12:39:19 AEDT 2016


Here are some cleanups in network snk, many suggested by Thomas.

I could split 2/4 into smaller chunks, should I?

This successfully boots via DHCP+TFTP, both IPv4 and IPv6.

Please comment. Thanks.

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     | 184 ++++++++++++----------------------
 clients/net-snk/app/netlib/ethernet.c |  42 ++++----
 clients/net-snk/app/netlib/ipv4.c     |  87 ++++++----------
 clients/net-snk/app/netlib/ipv4.h     |   6 +-
 clients/net-snk/app/netlib/ipv6.c     |  60 ++++-------
 clients/net-snk/app/netlib/ipv6.h     |   2 +-
 clients/net-snk/app/netlib/tcp.c      |  16 ++-
 clients/net-snk/app/netlib/tftp.c     |  22 ++--
 clients/net-snk/app/netlib/udp.c      |  20 ++--
 clients/net-snk/app/netlib/udp.h      |   2 +-
 10 files changed, 171 insertions(+), 270 deletions(-)

-- 
2.5.0.rc3



More information about the SLOF mailing list