diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-07 12:04:05 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:10 -0400 |
commit | 1e81f89b020758fb424f8bb0f13405706d29dfc7 (patch) | |
tree | 7ae51550659bf2f5e19595ebdb377d1343001382 /fs/bcachefs/compress.c | |
parent | 6fe893eade864665c0956a2ac2eff78b86dc8145 (diff) | |
download | linux-stable-1e81f89b020758fb424f8bb0f13405706d29dfc7.tar.gz linux-stable-1e81f89b020758fb424f8bb0f13405706d29dfc7.tar.bz2 linux-stable-1e81f89b020758fb424f8bb0f13405706d29dfc7.zip |
bcachefs: Fix assorted checkpatch nits
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/compress.c')
-rw-r--r-- | fs/bcachefs/compress.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/compress.c b/fs/bcachefs/compress.c index c9ca7cce55f8..6b17f7cc5860 100644 --- a/fs/bcachefs/compress.c +++ b/fs/bcachefs/compress.c @@ -643,7 +643,8 @@ static int __bch2_fs_compress_init(struct bch_fs *c, u64 features) static u64 compression_opt_to_feature(unsigned v) { unsigned type = bch2_compression_decode(v).type; - return 1ULL << bch2_compression_opt_to_feature[type]; + + return BIT_ULL(bch2_compression_opt_to_feature[type]); } int bch2_fs_compress_init(struct bch_fs *c) |