net: ethernet: reduce calls to memset(,0)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net/mlx4: use kzalloc instead of kmallocdrivers/ drivers/ | +1 | 1 reply | |
| 2/8 | net/mlxsw: use pci_zalloc_consistent instead of pci_alloc_consistentdrivers/ | +3 | 0 replies | |
| 3/8 | tlan: use pci_zalloc instead of pci_allocdrivers/ | +4 | 2 replies | |
| 4/8 | qed: remove unnecessary memsetsdrivers/ drivers/ drivers/ | +25 | 1 reply | |
| 5/8 | at12: use pci_zalloc instead of pci_allocdrivers/ | +2 | 1 reply | |
| 6/8 | netxen: remove unnecessary memset(,0) callsdrivers/ | +13 | 0 replies | |
| 7/8 | net: seeq: replace kmalloc / memset(,0) with kzallocdrivers/ | +1 | 1 reply | |
| 8/8 | net: ethernet: ixp4xx_eth: remove memset(,0) with zallocdrivers/ | +3 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Michal Kalderon |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | A-b |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] net: ethernet: reduce calls to memset(,0)
This patch series removes calls to memset(,0) that are redundant when used in conjunction with a zalloc call or by simple zero-assignment of structs.
Robert Eshleman (8):
net/mlx4: use kzalloc instead of kmalloc
net/mlxsw: use pci_zalloc_consistent instead of pci_alloc_consistent
tlan: use pci_zalloc instead of pci_alloc
qed: remove unnecessary memsets
at12: use pci_zalloc instead of pci_alloc
netxen: remove unnecessary memset(,0) calls
net: seeq: replace kmalloc / memset(,0) with kzalloc
net: ethernet: ixp4xx_eth: remove memset(,0) with zalloc
drivers/net/ethernet/atheros/atlx/atl2.c | 5 +- drivers/net/ethernet/mellanox/mlx4/cmd.c | 1 - drivers/net/ethernet/mellanox/mlx4/en_rx.c | 3 +- drivers/net/ethernet/mellanox/mlxsw/pci.c | 7 +- .../ethernet/qlogic/netxen/netxen_nic_ctx.c | 36 ++++------ drivers/net/ethernet/qlogic/qed/qed_cxt.c | 4 +- drivers/net/ethernet/qlogic/qed/qed_hw.c | 3 +- drivers/net/ethernet/qlogic/qed/qed_mcp.c | 70 ++++++------------- drivers/net/ethernet/seeq/ether3.c | 3 +- drivers/net/ethernet/ti/tlan.c | 9 ++- drivers/net/ethernet/xscale/ixp4xx_eth.c | 7 +- 11 files changed, 52 insertions(+), 96 deletions(-)
Signature · 1 line
2.20.1