From: Wei Yongjun Date: Mon, 24 Sep 2012 18:29:35 +0000 (+0000) Subject: team: fix return value check X-Git-Tag: v3.6~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a326e6dd315ee38c280b7ecf8a0d777952e384cd;p=pandora-kernel.git 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 Acked-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed