linux/drivers/net/ethernet/stmicro/stmmac
Wei Yongjun 6861509f9f stmmac: fix return value check in stmmac_open_ext_timer()
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL pointer. The NULL test in the error
handling should be replaced with IS_ERR().

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-21 13:47:24 -04:00
..
Kconfig stmmac: fix driver built w/ w/o both pci and platf modules 2012-06-07 22:46:48 -07:00
Makefile stmmac: add the experimental PCI support 2011-12-21 15:44:34 -05:00
chain_mode.c
common.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
descs.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
descs_com.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac100.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac100_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac100_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac1000.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac1000_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac1000_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac_dma.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac_lib.c stmmac: extend mac addr reg and fix perfect filering 2012-05-14 18:53:19 -04:00
enh_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
mmc.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
mmc_core.c stmmac: fix a typo in the macro used to mask the mmc irq 2012-08-22 19:14:31 -07:00
norm_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
ring_mode.c stmmac: Fix for higher mtu size handling 2012-07-09 14:37:52 -07:00
stmmac.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
stmmac_ethtool.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
stmmac_main.c net/stmmac: fix issue of clk_get for Loongson1B. 2012-08-20 02:52:20 -07:00
stmmac_mdio.c stmmac: MDC clock dynamically based on the csr clock input 2012-04-04 18:39:24 -04:00
stmmac_pci.c drivers/net/ethernet: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:46 -07:00
stmmac_platform.c net/stmmac: mark probe function as __devinit 2012-08-08 16:08:43 -07:00
stmmac_timer.c stmmac: fix return value check in stmmac_open_ext_timer() 2012-09-21 13:47:24 -04:00
stmmac_timer.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00