[U-Boot] [PATCH 0/23] net: cosmetic: Fix naming and other checkpatch.pl issues in net/

Joe Hershberger joe.hershberger at gmail.com
Mon Apr 6 22:41:14 CEST 2015


Hi Simon,

On Fri, Apr 3, 2015 at 4:14 PM, Joe Hershberger <joe.hershberger at ni.com>
wrote:
>
> This series is fairly disruptive in naming, so hopefully there aren't
> many network stack changes in flight that will conflict with this. This
> is based on top of dm/next for now so that the dm/eth series is assumed.
> This will be rebased when that is, but will likely not have issues.
>
> Like ripping off a bandage, do it quick and all at once.

It would be good if you can pull this in through dm/next if there are no
oppositions, since this depends on that tree and will be disruptive if left
out for any amount of time.

> Joe Hershberger (21):
>   net: cosmetic: Change IPaddr_t to struct in_addr
>   net: cosmetic: Fixup var names related to boot file
>   net: cosmetic: Fixup var names for DHCP strings
>   net: cosmetic: Name ethaddr variables consistently
>   net: cosmetic: Cleanup internal packet buffer names
>   net: cosmetic: Fix var naming net <-> eth drivers
>   net: cosmetic: Clean up TFTP variables and functions
>   net: cosmetic: Clean up ARP variables and functions
>   net: cosmetic: Clean up DHCP variables and functions
>   net: cosmetic: Clean up NFS variables and functions
>   net: cosmetic: Clean up RARP variables and functions
>   net: cosmetic: Clean up SNTP variables and functions
>   net: cosmetic: Clean up ping variables and functions
>   net: cosmetic: Clean up CDP variables and functions
>   net: cosmetic: Clean up DNS variables and functions
>   net: cosmetic: Clean up netconsole variables and functions
>   net: cosmetic: Clean up cmd_net variables and functions
>   net: cosmetic: Fix checkpatch.pl failures in linklocal
>   net: cosmetic: Fix checkpatch.pl failures in eth.c
>   net: cosmetic: Fix checkpatch.pl failures in net.h
>   net: cosmetic: Fix checkpatch.pl failures in net.c
>
> Sergey Temerkhanov (2):
>   net: Fix incorrect DHCP/BOOTP packets on 64-bit systems
>   net: Convert protocol structures to use explicit sizes
>
>  README                                     |   6 +-
>  arch/arm/mach-davinci/misc.c               |   2 +-
>  arch/mips/mach-au1x00/au1x00_eth.c         |  12 +-
>  arch/powerpc/cpu/mpc8260/ether_fcc.c       |  20 +-
>  arch/powerpc/cpu/mpc8260/ether_scc.c       |   4 +-
>  arch/powerpc/cpu/mpc85xx/ether_fcc.c       |   4 +-
>  arch/powerpc/cpu/mpc8xx/fec.c              |  12 +-
>  arch/powerpc/cpu/mpc8xx/scc.c              |   5 +-
>  board/BuR/common/common.c                  |   4 +-
>  board/ait/cam_enc_4xx/cam_enc_4xx.c        |   2 +-
>  board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c |   2 +-
>  board/bct-brettl2/bct-brettl2.c            |   2 +-
>  board/bf518f-ezbrd/bf518f-ezbrd.c          |   4 +-
>  board/bf526-ezbrd/bf526-ezbrd.c            |   4 +-
>  board/bf527-ezkit/bf527-ezkit.c            |   4 +-
>  board/bf537-minotaur/bf537-minotaur.c      |   2 +-
>  board/bf537-pnav/bf537-pnav.c              |   2 +-
>  board/bf537-srv1/bf537-srv1.c              |   2 +-
>  board/bf537-stamp/bf537-stamp.c            |   4 +-
>  board/birdland/bav335x/board.c             |   4 +-
>  board/buffalo/lsxl/lsxl.c                  |   2 +-
>  board/cm-bf527/cm-bf527.c                  |   4 +-
>  board/cm-bf537e/cm-bf537e.c                |   2 +-
>  board/cm-bf537u/cm-bf537u.c                |   2 +-
>  board/compulab/cm_fx6/cm_fx6.c             |   2 +-
>  board/compulab/cm_t335/cm_t335.c           |   2 +-
>  board/compulab/cm_t35/cm_t35.c             |   2 +-
>  board/compulab/cm_t3517/cm_t3517.c         |   4 +-
>  board/compulab/cm_t54/cm_t54.c             |   4 +-
>  board/davinci/da8xxevm/da850evm.c          |   6 +-
>  board/dnp5370/dnp5370.c                    |   4 +-
>  board/gumstix/pepper/board.c               |   2 +-
>  board/ifm/ac14xx/ac14xx.c                  |   2 +-
>  board/ip04/ip04.c                          |   2 +-
>  board/isee/igep0033/board.c                |   2 +-
>  board/phytec/pcm051/board.c                |   2 +-
>  board/renesas/r0p7734/r0p7734.c            |   2 +-
>  board/siemens/common/factoryset.c          |   4 +-
>  board/siemens/pxm2/board.c                 |   2 +-
>  board/silica/pengwyn/board.c               |   2 +-
>  board/tcm-bf518/tcm-bf518.c                |   4 +-
>  board/tcm-bf537/tcm-bf537.c                |   2 +-
>  board/ti/am335x/board.c                    |   6 +-
>  board/ti/am43xx/board.c                    |   4 +-
>  board/ti/beagle_x15/board.c                |   4 +-
>  board/ti/dra7xx/evm.c                      |   4 +-
>  board/ti/ti814x/evm.c                      |   2 +-
>  common/cmd_elf.c                           |   2 +-
>  common/cmd_net.c                           | 133 +++----
>  common/cmd_pxe.c                           |   4 +-
>  common/spl/spl_net.c                       |   2 +-
>  common/update.c                            |  25 +-
>  doc/README.drivers.eth                     |  12 +-
>  doc/README.enetaddr                        |   2 +-
>  doc/README.link-local                      |   4 +-
>  drivers/net/4xx_enet.c                     |  14 +-
>  drivers/net/altera_tse.c                   |  15 +-
>  drivers/net/armada100_fec.c                |   7 +-
>  drivers/net/at91_emac.c                    |   4 +-
>  drivers/net/ax88180.c                      |   6 +-
>  drivers/net/bcm-sf2-eth.c                  |   6 +-
>  drivers/net/bfin_mac.c                     |   4 +-
>  drivers/net/calxedaxgmac.c                 |   2 +-
>  drivers/net/cpsw.c                         |  17 +-
>  drivers/net/cs8900.c                       |   5 +-
>  drivers/net/davinci_emac.c                 |   5 +-
>  drivers/net/dc2114x.c                      |   9 +-
>  drivers/net/designware.c                   |   2 +-
>  drivers/net/dm9000x.c                      |   9 +-
>  drivers/net/dnet.c                         |   5 +-
>  drivers/net/e1000.c                        |   4 +-
>  drivers/net/eepro100.c                     |   3 +-
>  drivers/net/enc28j60.c                     |  13 +-
>  drivers/net/ep93xx_eth.c                   |  11 +-
>  drivers/net/ethoc.c                        |   4 +-
>  drivers/net/fec_mxc.c                      |   4 +-
>  drivers/net/fm/eth.c                       |   2 +-
>  drivers/net/fsl_mcdmafec.c                 |  23 +-
>  drivers/net/ftgmac100.c                    |   4 +-
>  drivers/net/ftmac100.c                     |   4 +-
>  drivers/net/ftmac110.c                     |   4 +-
>  drivers/net/greth.c                        |   2 +-
>  drivers/net/keystone_net.c                 |   2 +-
>  drivers/net/ks8851_mll.c                   |   6 +-
>  drivers/net/lan91c96.c                     |  19 +-
>  drivers/net/macb.c                         |  10 +-
>  drivers/net/mcffec.c                       |   5 +-
>  drivers/net/mpc512x_fec.c                  |   3 +-
>  drivers/net/mpc5xxx_fec.c                  |   2 +-
>  drivers/net/mvgbe.c                        |  41 +-
>  drivers/net/mvneta.c                       |   2 +-
>  drivers/net/natsemi.c                      |   3 +-
>  drivers/net/ne2000_base.c                  |   2 +-
>  drivers/net/netconsole.c                   |  94 ++---
>  drivers/net/ns8382x.c                      |   6 +-
>  drivers/net/pch_gbe.c                      |   2 +-
>  drivers/net/pcnet.c                        |   2 +-
>  drivers/net/rtl8139.c                      |   4 +-
>  drivers/net/rtl8169.c                      |   2 +-
>  drivers/net/sandbox-raw.c                  |   8 +-
>  drivers/net/sandbox.c                      |  14 +-
>  drivers/net/sh_eth.c                       |   2 +-
>  drivers/net/smc91111.c                     |  18 +-
>  drivers/net/smc911x.c                      |   4 +-
>  drivers/net/sunxi_emac.c                   |   4 +-
>  drivers/net/tsec.c                         |   7 +-
>  drivers/net/tsi108_eth.c                   |   8 +-
>  drivers/net/uli526x.c                      |   5 +-
>  drivers/net/xilinx_axi_emac.c              |   2 +-
>  drivers/net/xilinx_emaclite.c              |   2 +-
>  drivers/net/xilinx_ll_temac_fifo.c         |   4 +-
>  drivers/net/xilinx_ll_temac_sdma.c         |   4 +-
>  drivers/net/zynq_gem.c                     |   2 +-
>  drivers/qe/uec.c                           |   2 +-
>  drivers/usb/eth/asix.c                     |   3 +-
>  drivers/usb/eth/asix88179.c                |   2 +-
>  drivers/usb/eth/mcs7830.c                  |   2 +-
>  drivers/usb/eth/smsc95xx.c                 |   5 +-
>  drivers/usb/gadget/ether.c                 |  13 +-
>  include/common.h                           |   2 +-
>  include/net.h                              | 303 ++++++++-------
>  lib/net_utils.c                            |  16 +-
>  net/arp.c                                  | 137 ++++---
>  net/arp.h                                  |  22 +-
>  net/bootp.c                                | 373 +++++++++---------
>  net/bootp.h                                |  39 +-
>  net/cdp.c                                  |  88 ++---
>  net/cdp.h                                  |   2 +-
>  net/dns.c                                  |  72 ++--
>  net/dns.h                                  |   2 +-
>  net/eth.c                                  |  61 +--
>  net/link_local.c                           |  79 ++--
>  net/net.c                                  | 442 +++++++++++-----------
>  net/nfs.c                                  | 235 ++++++------
>  net/nfs.h                                  |   2 +-
>  net/ping.c                                 |  49 +--
>  net/rarp.c                                 |  45 ++-
>  net/rarp.h                                 |   6 +-
>  net/sntp.c                                 |  42 +-
>  net/sntp.h                                 |   2 +-
>  net/tftp.c                                 | 589
+++++++++++++++--------------
>  net/tftp.h                                 |   8 +-
>  post/cpu/mpc8xx/ether.c                    |   6 +-
>  test/dm/eth.c                              |  38 +-
>  144 files changed, 1771 insertions(+), 1758 deletions(-)

Thanks,
-Joe


More information about the U-Boot mailing list