| Subject | Re: [PATCH 01/22] pci-dma-compat: Add pci_zalloc_consistent helper | From | Joe Perches <> | Date | Mon, 23 Jun 2014 07:03:28 -0700 |
| |
On Mon, 2014-06-23 at 15:53 +0200, Arnd Bergmann wrote: > On Monday 23 June 2014 06:41:29 Joe Perches wrote: > > Add this helper for consistency with pci_zalloc_coherent > > and the ability to remove unnecessary memset(,0,) uses.
> Shouldn't these drivers just use the normal dma-mapping API now?
Maybe. I wouldn't mind.
They do seem to have a trivial bit of unnecessary overhead for
hwdev == NULL ? NULL : &hwdev->dev
|