diff options
| author | Helge Deller <[email protected]> | 2017-03-15 20:48:42 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2017-03-15 20:51:17 +0000 |
| commit | 186ecf14e58befba434f0774eea89e35f64d3c6a (patch) | |
| tree | 05bd7cbefb50716eaef9310cddf3df0a16c8e13b /net/unix/af_unix.c | |
| parent | parisc: Wire up statx system call (diff) | |
| download | kernel-186ecf14e58befba434f0774eea89e35f64d3c6a.tar.gz kernel-186ecf14e58befba434f0774eea89e35f64d3c6a.zip | |
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 <[email protected]>
Fixes: 09b871ffd4d8 ("parisc: Define access_ok() as macro")
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
