PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Jul 2013 01:50:32 +0000 (11:20 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Jul 2013 01:55:01 +0000 (11:25 +0930)
commit8c6ffba0eddc8c110dbf444f51354ce42069abfc
tree1055a1cfdf7bd79d6e2c4b969d412780ff2d2209
parent6e8b8726ad503214ba66e34aed69aff41de33489
PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.

Sweep of the simple cases.

Cc: netdev@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
43 files changed:
arch/arm/mach-omap2/i2c.c
arch/m68k/amiga/platform.c
arch/m68k/kernel/time.c
arch/m68k/q40/config.c
arch/powerpc/kernel/iommu.c
arch/powerpc/kernel/time.c
arch/powerpc/platforms/ps3/time.c
arch/powerpc/sysdev/rtc_cmos_setup.c
arch/s390/hypfs/hypfs_dbfs.c
drivers/char/tile-srom.c
drivers/infiniband/core/cma.c
drivers/net/appletalk/cops.c
drivers/net/appletalk/ltpc.c
drivers/net/ethernet/amd/atarilance.c
drivers/net/ethernet/amd/mvme147.c
drivers/net/ethernet/amd/ni65.c
drivers/net/ethernet/amd/sun3lance.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
drivers/net/wireless/brcm80211/brcmsmac/debug.c
drivers/platform/x86/samsung-q10.c
drivers/regulator/fan53555.c
drivers/spi/spi-fsl-spi.c
drivers/spi/spidev.c
drivers/video/omap2/dss/core.c
fs/btrfs/dev-replace.c
fs/btrfs/inode.c
net/bluetooth/hci_sysfs.c
net/bridge/netfilter/ebtable_broute.c
net/bridge/netfilter/ebtable_filter.c
net/bridge/netfilter/ebtable_nat.c
net/ipv4/netfilter/arptable_filter.c
net/ipv4/netfilter/iptable_filter.c
net/ipv4/netfilter/iptable_mangle.c
net/ipv4/netfilter/iptable_nat.c
net/ipv4/netfilter/iptable_raw.c
net/ipv4/netfilter/iptable_security.c
net/ipv6/netfilter/ip6table_filter.c
net/ipv6/netfilter/ip6table_mangle.c
net/ipv6/netfilter/ip6table_nat.c
net/ipv6/netfilter/ip6table_raw.c
net/ipv6/netfilter/ip6table_security.c
scripts/coccinelle/api/ptr_ret.cocci
sound/soc/soc-io.c