summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/twl6040-irq.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-05-29 07:33:59 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-30 10:01:11 +0200
commit491af9903b858ee7c36735dc31708fe4074ce56f (patch)
tree3617b5b496f610bffe9142ba07f6395bfe513497 /drivers/mfd/twl6040-irq.c
parents390/cmpxchg: select HAVE_CMPXCHG_LOCAL option (diff)
downloadlinux-491af9903b858ee7c36735dc31708fe4074ce56f.tar.xz
linux-491af9903b858ee7c36735dc31708fe4074ce56f.zip
s390/uaccess: fix access_ok compile warnings
On s390 access_ok is a macro which discards all parameters and always returns 1. This can result in compile warnings which warn about unused variables like this: fs/read_write.c: In function 'rw_copy_check_uvector': fs/read_write.c:684:16: warning: unused variable 'buf' [-Wunused-variable] Fix this by adding a __range_ok() function which consumes all parameters but still always returns 1. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/mfd/twl6040-irq.c')
0 files changed, 0 insertions, 0 deletions