summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pasemi/pasemi_mac.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-09-24 18:29:35 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-09-27 17:18:19 (GMT)
commita326e6dd315ee38c280b7ecf8a0d777952e384cd (patch)
tree678e512c939656080acc1efd5336bb1b3160a460 /drivers/net/ethernet/pasemi/pasemi_mac.c
parent7f8436a1269eaaf2d0b1054a325eddf4e14cb80d (diff)
downloadlinux-fsl-qoriq-a326e6dd315ee38c280b7ecf8a0d777952e384cd.tar.xz
team: fix return value check
In case of error, the function genlmsg_put() 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> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pasemi/pasemi_mac.c')
0 files changed, 0 insertions, 0 deletions