Searched hist:"186 ecf14e58befba434f0774eea89e35f64d3c6a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/parisc/include/asm/ |
H A D | uaccess.h | diff 186ecf14e58befba434f0774eea89e35f64d3c6a Wed Mar 15 15:48:42 CDT 2017 Helge Deller <deller@gmx.de> parisc: Avoid compiler warnings with access_ok()
Commit 09b871ffd4d8 (parisc: Define access_ok() as macro) missed to mark uaddr as used, which then gives compiler warnings about unused variables.
Fix it by comparing uaddr to uaddr which then gets optimized away by the compiler.
Signed-off-by: Helge Deller <deller@gmx.de> Fixes: 09b871ffd4d8 ("parisc: Define access_ok() as macro")
|