Re: [PATCH 3/8] tlan: use pci_zalloc instead of pci_alloc

2019-02-27 Thread Robert Eshleman
On Tue, Feb 26, 2019 at 10:22:06PM -0800, Joe Perches wrote: > On Tue, 2019-02-26 at 22:09 -0800, Robert Eshleman wrote: > > This patch replaces a pci_alloc_consistent and memset(,0) call > > with a single call to pci_zalloc_consistent. > [] > > diff --git a/drivers/net/ethernet/ti/tlan.c b/drivers

Re: [PATCH 3/8] tlan: use pci_zalloc instead of pci_alloc

2019-02-26 Thread Joe Perches
On Tue, 2019-02-26 at 22:09 -0800, Robert Eshleman wrote: > This patch replaces a pci_alloc_consistent and memset(,0) call > with a single call to pci_zalloc_consistent. [] > diff --git a/drivers/net/ethernet/ti/tlan.c b/drivers/net/ethernet/ti/tlan.c [] > @@ -845,17 +845,16 @@ static int tlan_init

[PATCH 3/8] tlan: use pci_zalloc instead of pci_alloc

2019-02-26 Thread Robert Eshleman
This patch replaces a pci_alloc_consistent and memset(,0) call with a single call to pci_zalloc_consistent. Signed-off-by: Robert Eshleman --- drivers/net/ethernet/ti/tlan.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/ti/tlan.c b/drivers/net/