From 1e81f89b020758fb424f8bb0f13405706d29dfc7 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 7 Aug 2023 12:04:05 -0400 Subject: bcachefs: Fix assorted checkpatch nits Signed-off-by: Kent Overstreet --- fs/bcachefs/compress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fs/bcachefs/compress.c') 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) -- cgit v1.2.3