]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8686/1: iwmmxt: Add missing __user annotations to sigframe accessors
authorDave Martin <Dave.Martin@arm.com>
Fri, 30 Jun 2017 17:56:09 +0000 (18:56 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 24 Jul 2017 13:26:54 +0000 (14:26 +0100)
commit269583559cdd8ab1203210893590ed4cc6af8171
tree58d79973c235bdbda11236dc3f8c36f0f132ccac
parent0d70262a2d60886da6fe5b1fc8bbcd76cbbc306d
ARM: 8686/1: iwmmxt: Add missing __user annotations to sigframe accessors

preserve_iwmmxt_context() and restore_iwmmxt_context() lack __user
accessors on their arguments pointing to the user signal frame.

There does not be appear to be a bug here, but this omission is
inconsistent with the crunch and vfp sigframe access functions.

This patch adds the annotations, for consistency.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/signal.c