linux_dsm_epyc7002/drivers/net/team
Wei Yongjun a326e6dd31 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>
2012-09-27 13:18:19 -04:00
..
Kconfig team: add broadcast mode 2012-07-12 08:08:20 -07:00
Makefile team: add broadcast mode 2012-07-12 08:08:20 -07:00
team_mode_activebackup.c team: add netpoll support 2012-07-17 09:02:36 -07:00
team_mode_broadcast.c team: add netpoll support 2012-07-17 09:02:36 -07:00
team_mode_loadbalance.c team: add netpoll support 2012-07-17 09:02:36 -07:00
team_mode_roundrobin.c team: add netpoll support 2012-07-17 09:02:36 -07:00
team.c team: fix return value check 2012-09-27 13:18:19 -04:00