BNX2X: spatch net_device -> ether
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 5 Feb 2015 20:20:39 +0000 (15:20 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 Mar 2015 16:59:08 +0000 (11:59 -0500)
commit2aa6aca09776c25a42ce647096efaf3dd200c4cb
tree9c3eb5c1a8e71d8981e2bca1b105aaf59732650a
parent3246d1d4c34608b44b1810a9b8815dd9df5ba83c
BNX2X: spatch net_device -> ether

The fields aren't right, but it's the closest thing.  And at least the name
field is right!  (Thanks to the anonymous netif in ether).

Incidentally, spatch couldn't handle two of the changes.  Again, one in bnx2x.h
and another in bnx2x_main.c.  In the latter, if you remove the "return -EAGAIN"
at 12208, it works...
kern/drivers/net/bnx2x/bnx2x.h
kern/drivers/net/bnx2x/bnx2x_cmn.c
kern/drivers/net/bnx2x/bnx2x_cmn.h
kern/drivers/net/bnx2x/bnx2x_dcb.c
kern/drivers/net/bnx2x/bnx2x_ethtool.c
kern/drivers/net/bnx2x/bnx2x_main.c
kern/drivers/net/bnx2x/bnx2x_sriov.c
kern/drivers/net/bnx2x/bnx2x_sriov.h
kern/drivers/net/bnx2x/bnx2x_vfpf.c
scripts/spatch/linux/scalar.cocci