summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorWei Yongjun2012-09-27 21:04:21 +0200
committerDavid S. Miller2012-09-28 07:18:32 +0200
commitdf555b665367f9de6c04826acc482096f17c243d (patch)
treea7ddfe21f30e9b0f99da71425e9e6aeef430aa33 /include/linux/sched.h
parentinetpeer: fix token initialization (diff)
downloadkernel-qcow2-linux-df555b665367f9de6c04826acc482096f17c243d.tar.gz
kernel-qcow2-linux-df555b665367f9de6c04826acc482096f17c243d.tar.xz
kernel-qcow2-linux-df555b665367f9de6c04826acc482096f17c243d.zip
netdev: octeon: fix return value check in octeon_mgmt_init_phy()
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>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions