]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r347837:
authorJohannes Lundberg <johalun@FreeBSD.org>
Fri, 24 May 2019 15:37:54 +0000 (15:37 +0000)
committerJohannes Lundberg <johalun@FreeBSD.org>
Fri, 24 May 2019 15:37:54 +0000 (15:37 +0000)
commitb41edba3b0b662e48181dcc5c78d31b698059326
treefc5e526aef647cb18524b955bf84f0ea384be26f
parentbdd73e56588437f68b4a896fd7b4768d0ce4452f
MFC r347837:
LinuxKPI: Update access_ok macro for v5.0.

Check LINUXKPI_VERSION macro for backwards compatibility.
It's recommended to update any drivers that depend on the older KPI
so we can deprecate < 5.0 code as we update to newer Linux version.
This patch is part of D19565

Reviewed by: hps
Approved by: imp (mentor), hps
sys/compat/linuxkpi/common/include/linux/uaccess.h
sys/compat/linuxkpi/common/src/linux_compat.c