summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/encodings.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-05 21:04:16 -0500
committerMike Snitzer <snitzer@kernel.org>2024-02-20 13:43:18 -0500
commit3fa8e6ec07f7d326cbd9af2daa29b5fe3fb9eb12 (patch)
treee65f837ba424b04b16521e20200ad9251b540200 /drivers/md/dm-vdo/encodings.c
parent952b57a58d400e5495d0f5d402c5ff9737dd5995 (diff)
dm vdo: fix sparse warnings about missing statics
Addresses various sparse warnings like: warning: symbol 'SYMBOL' was not declared. Should it be static? Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'drivers/md/dm-vdo/encodings.c')
-rw-r--r--drivers/md/dm-vdo/encodings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/encodings.c b/drivers/md/dm-vdo/encodings.c
index 2d9d8645f66b..6b3e9a5b3a91 100644
--- a/drivers/md/dm-vdo/encodings.c
+++ b/drivers/md/dm-vdo/encodings.c
@@ -85,7 +85,7 @@ const struct header VDO_SLAB_DEPOT_HEADER_2_0 = {
.size = sizeof(struct slab_depot_state_2_0),
};
-const struct header VDO_LAYOUT_HEADER_3_0 = {
+static const struct header VDO_LAYOUT_HEADER_3_0 = {
.id = VDO_LAYOUT,
.version = {
.major_version = 3,