git: mmap : check the return code of dev_dmmap_single

Joris Giovannangeli joris at crater.dragonflybsd.org
Mon Feb 24 12:48:40 PST 2014


commit effd7a1ee24b39054153c6202236ae6feebb4694
Author: Joris Giovannangeli <joris at giovannangeli.fr>
Date:   Mon Feb 24 21:39:39 2014 +0100

    mmap : check the return code of dev_dmmap_single
    
    drm might return other codes than ENODEV. We want to fail in this
    case too. This fix a path where object might be left uninitialized.

Summary of changes:
 sys/vm/vm_mmap.c | 4 ++++
 1 file changed, 4 insertions(+)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list