diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-06 22:47:42 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:06 -0400 |
commit | 73bd774d28d2b2e6a05c31bf7afb9247e02a8e49 (patch) | |
tree | 21ab80d4b966d92647ea178bc5707a8534e5d123 /fs/bcachefs/tests.c | |
parent | 236b68da5017b5336b332f941323a5bc450594b3 (diff) | |
download | linux-73bd774d28d2b2e6a05c31bf7afb9247e02a8e49.tar.gz linux-73bd774d28d2b2e6a05c31bf7afb9247e02a8e49.tar.bz2 linux-73bd774d28d2b2e6a05c31bf7afb9247e02a8e49.zip |
bcachefs: Assorted sparse fixes
- endianness fixes
- mark some things static
- fix a few __percpu annotations
- fix silent enum conversions
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/tests.c')
-rw-r--r-- | fs/bcachefs/tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/tests.c b/fs/bcachefs/tests.c index 50d69a5634bd..cef23d2ccc5f 100644 --- a/fs/bcachefs/tests.c +++ b/fs/bcachefs/tests.c @@ -444,7 +444,7 @@ static int test_peek_end_extents(struct bch_fs *c, u64 nr) /* extent unit tests */ -u64 test_version; +static u64 test_version; static int insert_test_extent(struct bch_fs *c, u64 start, u64 end) |