Re: [PATCH v2 15/27] net: use zeroing allocator rather than allocator followed by memset zero

2019-06-30 Thread Tariq Toukan
On 6/28/2019 5:48 AM, Fuqian Huang wrote: > Replace allocator followed by memset with 0 with zeroing allocator. > > Signed-off-by: Fuqian Huang > --- .. > --- a/drivers/net/ethernet/mellanox/mlx4/en_rx.c > +++ b/drivers/net/ethernet/mellanox/mlx4/en_rx.c > @@ -1062,7 +1062,7 @@ static int ml

[PATCH v2 15/27] net: use zeroing allocator rather than allocator followed by memset zero

2019-06-27 Thread Fuqian Huang
Replace allocator followed by memset with 0 with zeroing allocator. Signed-off-by: Fuqian Huang --- drivers/net/eql.c | 3 +-- drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c | 4 +--- drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c | 4 +---