summaryrefslogtreecommitdiffstats
path: root/drivers/net/team
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-06-19 05:54:15 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-19 15:00:24 -0700
commitf88725ffb069fef0ea3d47381d33c928f4c48cba (patch)
tree57fa3cb327f81dae4ead1f4d1c8e977f1afd5927 /drivers/net/team
parent01048d9a293cbe9aac00fd014b9754bbc7eb136f (diff)
downloadop-kernel-dev-f88725ffb069fef0ea3d47381d33c928f4c48cba.zip
op-kernel-dev-f88725ffb069fef0ea3d47381d33c928f4c48cba.tar.gz
team: pass NULL to __team_option_inst_add() instead of 0
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team')
-rw-r--r--drivers/net/team/team.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index da72f41..eb18ac9 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -164,7 +164,7 @@ static int __team_option_inst_add_option(struct team *team,
int err;
if (!option->per_port) {
- err = __team_option_inst_add(team, option, 0);
+ err = __team_option_inst_add(team, option, NULL);
if (err)
goto inst_del_option;
}
OpenPOWER on IntegriCloud