kernel_optimize_test/arch
Linus Walleij 7b42c00a95 MIPS: Alchemy: Be sure to clamp return value
As we want gpio_chip .get() calls to be able to return negative
error codes and propagate to drivers, we need to go over all
drivers and make sure their return values are clamped to [0,1].
We do this by using the ret = !!(val) design pattern.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: linux-gpio@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11921/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-01-24 02:20:45 +01:00
..
alpha
arc ARC: dw2 unwind: Catch Dwarf SNAFUs early 2015-12-21 14:01:49 +05:30
arm [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64() 2015-12-29 13:04:21 -05:00
arm64
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64
m32r m32r: add io*_rep helpers 2015-12-29 17:45:49 -08:00
m68k
metag
microblaze
mips MIPS: Alchemy: Be sure to clamp return value 2016-01-24 02:20:45 +01:00
mn10300
nios2
openrisc
parisc parisc: Fix syscall restarts 2015-12-21 10:16:18 +01:00
powerpc KVM/ARM fixes for v4.4-rc7 2015-12-22 15:47:39 -08:00
s390 s390/dis: Fix handling of format specifiers 2015-12-18 14:43:21 +01:00
score
sh
sparc sparc: Wire up mlock2 system call. 2015-12-31 15:38:56 -05:00
tile
um
unicore32
x86 arch/x86/xen/suspend.c: include xen/xen.h 2015-12-29 17:45:49 -08:00
xtensa
.gitignore
Kconfig