git: drm: Reintroduce drm_kms_free()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Aug 22 11:57:11 PDT 2015


commit 0554239fef014d8a727f47ad061c9c1a3eb07afc
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Aug 22 20:21:31 2015 +0200

    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 during one of the
      drm_crtc.c syncs with Linux.
    
    Reported-by: ivadasz

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0554239fef014d8a727f47ad061c9c1a3eb07afc


-- 
DragonFly BSD source repository


More information about the Commits mailing list