[PATCH 00/22] Add and use pci_zalloc_consistent

Luis R. Rodriguez mcgrof at do-not-panic.com
Mon Jun 23 10:25:12 PDT 2014


On Mon, Jun 23, 2014 at 06:41:28AM -0700, Joe Perches wrote:
> Adding the helper reduces object code size as well as overall
> source size line count.
> 
> It's also consistent with all the various zalloc mechanisms
> in the kernel.
> 
> Done with a simple cocci script and some typing.

Awesome, any chance you can paste in the SmPL? Also any chance
we can get this added to a make coccicheck so that maintainers
moving forward can use that to ensure that no new code is
added that uses the old school API?

  Luis


More information about the dri-devel mailing list