git: sound - Fix mmap handling for /dev/dsp* devices.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Oct 25 16:16:34 PDT 2018


commit 827eaa6e4ed034bcb0c621588cb8fb393600a5f1
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri Oct 26 00:53:08 2018 +0200

    sound - Fix mmap handling for /dev/dsp* devices.
    
    * The d_mmap function is expected to return a page index, not an address,
      the the atop() function for this as usual.

Summary of changes:
 sys/dev/sound/pcm/dsp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/827eaa6e4ed034bcb0c621588cb8fb393600a5f1


-- 
DragonFly BSD source repository


More information about the Commits mailing list