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 <firstname.lastname@example.org> Date: 2015-08-27T14:03:43.000Z 6141 use kmem_zalloc instead of kmem_alloc + bzero/memset Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Marcel Telka <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>