git: drm cleanup 19/x: Switch more calls to kzalloc/kfree helpers.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri May 20 01:39:59 PDT 2016


commit 175896df11e05ada921c872a66c1ed71f15fba3a
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu May 19 14:56:46 2016 +0300

    drm cleanup 19/x: Switch more calls to kzalloc/kfree helpers.
    
    Slightly reduces differences in already complicated codes.
    
    No functional change.

Summary of changes:
 sys/dev/drm/drm_agpsupport.c      |  2 +-
 sys/dev/drm/drm_bufs.c            | 47 +++++++++++++++++++--------------------
 sys/dev/drm/drm_fops.c            |  6 ++---
 sys/dev/drm/drm_ioctl.c           |  6 ++---
 sys/dev/drm/drm_pci.c             |  6 ++---
 sys/dev/drm/drm_sysctl.c          |  8 +++----
 sys/dev/drm/i915/intel_i2c.c      |  8 +++----
 sys/dev/drm/radeon/radeon_gart.c  |  4 ++--
 sys/dev/drm/ttm/ttm_agp_backend.c |  2 +-
 sys/dev/drm/ttm/ttm_bo.c          |  2 +-
 sys/dev/drm/ttm/ttm_bo_manager.c  |  3 +--
 sys/dev/drm/ttm/ttm_memory.c      |  8 +++----
 sys/dev/drm/ttm/ttm_object.c      | 12 +++++-----
 sys/dev/drm/ttm/ttm_page_alloc.c  |  5 ++---
 14 files changed, 58 insertions(+), 61 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/175896df11e05ada921c872a66c1ed71f15fba3a


-- 
DragonFly BSD source repository



More information about the Commits mailing list