]> 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)
commit54ff3e00d32189ad5636fd837dae46646c0c374d
tree0df80f621d819724a6874d39f148aa423c3e1ae3
parent2fb4498d8456eeccec76cc185c1a4fa7f477610e
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: 2fb4498d8456 ("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