Re: [PATCH] team: fix return value check
From: David Miller <davem@davemloft.net>
Date: 2012-09-27 17:18:38
From: David Miller <davem@davemloft.net>
Date: 2012-09-27 17:18:38
From: Wei Yongjun <redacted> Date: Tue, 25 Sep 2012 12:29:35 +0800
From: Wei Yongjun <redacted> 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 <redacted>
Applied.