mmap : check the return code of dev_dmmap_single
authorJoris Giovannangeli <joris@giovannangeli.fr>
Mon, 24 Feb 2014 20:39:39 +0000 (21:39 +0100)
committerJoris Giovannangeli <joris@giovannangeli.fr>
Mon, 24 Feb 2014 20:47:18 +0000 (21:47 +0100)
commiteffd7a1ee24b39054153c6202236ae6feebb4694
tree95c0253e3e1e43fce4c307808e482aff270f8469
parent8e680d7062fa81a69d17cab2ac9f56b67dbdfb6d
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.
sys/vm/vm_mmap.c