summaryrefslogtreecommitdiffstats
path: root/sys/modules/lmc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2017-07-22 05:58:10 +0000
committeralc <alc@FreeBSD.org>2017-07-22 05:58:10 +0000
commitf14b68ffe593a762a04f1aa430771a5229a8398c (patch)
treeef0496bae342a8fc8da95dce33887f54f6f69c5c /sys/modules/lmc
parent8a273c31651b9d74a5fe09f3c6ba50f3b1a71522 (diff)
downloadFreeBSD-src-f14b68ffe593a762a04f1aa430771a5229a8398c.zip
FreeBSD-src-f14b68ffe593a762a04f1aa430771a5229a8398c.tar.gz
MFC r315621
Use IDX_TO_OFF(), not ptoa(), when converting the difference between two vm_pindex_t's into a vm_ooffset_t. The length given to shm_dotruncate() must never be negative. Assert this. Tidy up a comment.
Diffstat (limited to 'sys/modules/lmc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud