ARM: uaccess: add further explanation of __range_ok()
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 22 Jul 2020 08:50:23 +0000 (09:50 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 22 Jul 2020 08:50:55 +0000 (09:50 +0100)
commit2350ebe2c40dfc2a0830e5eab17976d83f594ded
treedc794babcb29943bc107dccc83f57c00dcbfca07
parent6da5238fa384a3f0d5308b3b11e10f178cb7c20c
ARM: uaccess: add further explanation of __range_ok()

Detail the success return condition, and that we rely on KERNEL_DS
being zero for this to operate correctly.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/uaccess.h