]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a comment noting that the additional range checks are not needed.
authorkib <kib@FreeBSD.org>
Sun, 2 Dec 2018 13:29:13 +0000 (13:29 +0000)
committerkib <kib@FreeBSD.org>
Sun, 2 Dec 2018 13:29:13 +0000 (13:29 +0000)
commit311df7ee73edd66e677e270e3c6c82e1879fdc61
treee499943b7ea4ced04ebbc95ebc8f4313a0722010
parentea0a5b75bc951d37a08a6eb0ffe73985fe11a2b4
Add a comment noting that the additional range checks are not needed.

The object size is set in the dsp_mmap_single() which provides the
range limit by vm_fault().

Reported by: C Turt <ecturt@gmail.com>
Reviewed by: alc, markj
admbug: 781
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
sys/dev/sound/pcm/dsp.c