diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-24 01:22:24 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-25 03:29:11 +0300 |
commit | ec8f7d495b3d37c5f0d66cdc7e43ef76939293b6 (patch) | |
tree | 05dfd7b6f5a24f3a9f0b8a43152a1e070ad85975 /net | |
parent | c554520f2cbec9ccb5b7301f0602ac65c4d95d53 (diff) | |
download | linux-ec8f7d495b3d37c5f0d66cdc7e43ef76939293b6.tar.xz |
netlink: fix spelling mistake in dump size assert
Commit 2c7bc10d0f7b ("netlink: add macro for checking dump ctx size")
misspelled the name of the assert as asset, missing an R.
Reported-by: Ido Schimmel <idosch@idosch.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/20230123222224.732338-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/devlink/devl_internal.h | 2 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_netlink.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h index 1aa1a9549549..d0d889038138 100644 --- a/net/devlink/devl_internal.h +++ b/net/devlink/devl_internal.h @@ -135,7 +135,7 @@ int devlink_nl_instance_iter_dump(struct sk_buff *msg, static inline struct devlink_nl_dump_state * devlink_dump_state(struct netlink_callback *cb) { - NL_ASSET_DUMP_CTX_FITS(struct devlink_nl_dump_state); + NL_ASSERT_DUMP_CTX_FITS(struct devlink_nl_dump_state); return (struct devlink_nl_dump_state *)cb->ctx; } diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c index 90672e293e57..308fc0023c7e 100644 --- a/net/netfilter/nf_conntrack_netlink.c +++ b/net/netfilter/nf_conntrack_netlink.c @@ -3866,7 +3866,7 @@ static int __init ctnetlink_init(void) { int ret; - NL_ASSET_DUMP_CTX_FITS(struct ctnetlink_list_dump_ctx); + NL_ASSERT_DUMP_CTX_FITS(struct ctnetlink_list_dump_ctx); ret = nfnetlink_subsys_register(&ctnl_subsys); if (ret < 0) { |