use kmem_zalloc instead of kmem_alloc + bzero/memset
Instead of using kmem_alloc followed by a bzero or memset, just use kmem_zalloc which does the zeroing for us.
Updated by Electric Monk almost 6 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit a0f9c00cd82d49a710cee8aeb83ce42b5fb293a9 Author: Josef 'Jeff' Sipek <email@example.com> Date: 2015-08-27T14:03:43.000Z 6141 use kmem_zalloc instead of kmem_alloc + bzero/memset Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Garrett D'Amore <email@example.com> Reviewed by: Marcel Telka <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>