]> git.baikalelectronics.ru Git - kernel.git/commit
Fix access_ok() fallout for sparc32 and powerpc
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jan 2019 17:58:25 +0000 (09:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jan 2019 17:58:25 +0000 (09:58 -0800)
commitb8ce6fe2e879290fc386e3d6f00083df0ad4ed83
tree0df80f621d819724a6874d39f148aa423c3e1ae3
parenta32c85b4fad3ede9db6ad279c72f9c1e4cd95263
Fix access_ok() fallout for sparc32 and powerpc

These two architectures actually had an intentional use of the 'type'
argument to access_ok() just to avoid warnings.

I had actually noticed the powerpc one, but forgot to then fix it up.
And I missed the sparc32 case entirely.

This is hopefully all of it.

Reported-by: Mathieu Malaterre <malat@debian.org>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: a32c85b4fad3 ("Remove 'type' argument from access_ok() function")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/include/asm/uaccess.h
arch/sparc/include/asm/uaccess_32.h