summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-08-09 01:04:06 +0300
committerJakub Kicinski <kuba@kernel.org>2023-08-09 01:04:07 +0300
commitc0256168d16c99f23272790d9ca1a6eb40d50801 (patch)
treecf4a19701e144a9204598bc89e04153f54205bd3 /include/linux
parent6f9728dd4439d349672c0c4c834e07dd8693363a (diff)
parent7790eaeb688f9ded41d90abafda98f0389008e03 (diff)
downloadlinux-c0256168d16c99f23272790d9ca1a6eb40d50801.tar.xz
Merge branch 'team-do-some-cleanups-in-team-driver'
Zhengchao Shao says: ==================== team: do some cleanups in team driver Do some cleanups in team driver. ==================== Link: https://lore.kernel.org/r/20230807012556.3146071-1-shaozhengchao@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/if_team.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h
index 8de6b6e67829..1b9b15a492fa 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -162,8 +162,8 @@ struct team_option {
bool per_port;
unsigned int array_size; /* != 0 means the option is array */
enum team_option_type type;
- int (*init)(struct team *team, struct team_option_inst_info *info);
- int (*getter)(struct team *team, struct team_gsetter_ctx *ctx);
+ void (*init)(struct team *team, struct team_option_inst_info *info);
+ void (*getter)(struct team *team, struct team_gsetter_ctx *ctx);
int (*setter)(struct team *team, struct team_gsetter_ctx *ctx);
};