Skip to content
Commit 4caf4ebf authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarMathieu Malaterre <malat@debian.org>
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Fixes: 96d4f267

 ("Remove 'type' argument from access_ok() function")
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 96d4f267
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment