]> Git Repo - linux.git/commit
team: fix return value check
authorWei Yongjun <[email protected]>
Mon, 24 Sep 2012 18:29:35 +0000 (18:29 +0000)
committerDavid S. Miller <[email protected]>
Thu, 27 Sep 2012 17:18:19 +0000 (13:18 -0400)
commita326e6dd315ee38c280b7ecf8a0d777952e384cd
tree678e512c939656080acc1efd5336bb1b3160a460
parent7f8436a1269eaaf2d0b1054a325eddf4e14cb80d
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 <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/team/team.c
This page took 0.052986 seconds and 4 git commands to generate.