https://github.com/torvalds/linux
Revision beb5ac20b3f90ffabac1eecd3c00205255df0728 authored by Wei Yongjun on 26 September 2012, 19:51:58 UTC, committed by David S. Miller on 27 September 2012, 17:20:50 UTC
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

dpatch engine is used to auto generate 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>
1 parent a326e6d
History
Tip revision: beb5ac20b3f90ffabac1eecd3c00205255df0728 authored by Wei Yongjun on 26 September 2012, 19:51:58 UTC
netdev: pasemi: fix return value check in pasemi_mac_phy_init()
Tip revision: beb5ac2
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 210.9 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top