summaryrefslogtreecommitdiff
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-23 14:22:24 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-24 16:29:11 -0800
commitec8f7d495b3d37c5f0d66cdc7e43ef76939293b6 (patch)
tree05dfd7b6f5a24f3a9f0b8a43152a1e070ad85975 /include/linux/netlink.h
parentc554520f2cbec9ccb5b7301f0602ac65c4d95d53 (diff)
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 'include/linux/netlink.h')
-rw-r--r--include/linux/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 38f6334f408c..fa4d86da0ec7 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -263,7 +263,7 @@ struct netlink_callback {
};
};
-#define NL_ASSET_DUMP_CTX_FITS(type_name) \
+#define NL_ASSERT_DUMP_CTX_FITS(type_name) \
BUILD_BUG_ON(sizeof(type_name) > \
sizeof_field(struct netlink_callback, ctx))