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 about 5 years ago
- % Done changed from 80 to 100
- Status changed from New to Closed
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>