commit | 94e3370eb9fc00c44008ee7fd30c5cb00291c34d | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@gnu.org> | Wed Aug 11 09:18:52 2010 -0400 |
committer | Dave Airlie <airlied@redhat.com> | Thu Aug 12 09:12:30 2010 +1000 |
tree | 87d5ec184988ad6e8626585036d786dbcccb1bb1 | |
parent | 7203425a943eb3e189ba6b512827e0deb5f23872 [diff] |
DRM: Replace kmalloc/memset combos with kzalloc Currently most, if not all, memory allocation in drm_bufs.c is followed by initializing the memory with 0. Replace the use of kmalloc+memset with kzalloc. Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Dave Airlie <airlied@redhat.com>