git: drm: Reintroduce drm_kms_free()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Feb 7 10:21:41 PST 2015


commit a5f723789ad9efa919f88614b7d8afe920fc0bda
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Feb 7 17:57:28 2015 +0100

    drm: Reintroduce drm_kms_free()
    
    * The Linux version of kfree() is a macro with one argument.
    
    * The real kfree() function takes two arguments.
    
    * kfree() cannot be simply called via a function pointer from
      Linux code.
    
    * Re-add the special purpose drm_kms_free() wrapper function
      to handle this situation. It was wrongly removed when drm_crtc.c
      was last synced to Linux.
    
    Reported-by: jh32

Summary of changes:
 sys/dev/drm/drm_crtc.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a5f723789ad9efa919f88614b7d8afe920fc0bda


-- 
DragonFly BSD source repository



More information about the Commits mailing list