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