Please sign in to comment.
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@example.com> Acked-by: Jiri Pirko <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
- Loading branch information...