diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 2cc22df451e8..276a0b33a9ee 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -480,7 +480,7 @@ enum { * * It's not paranoia if the Murphy's Law really *is* out to get you. :-) */ -#define TEST_FLAG_VALUE(FLAG) (EXT4_##FLAG##_FL == (1 << EXT4_INODE_##FLAG)) +#define TEST_FLAG_VALUE(FLAG) (EXT4_##FLAG##_FL == (1U << EXT4_INODE_##FLAG)) #define CHECK_FLAG_VALUE(FLAG) BUILD_BUG_ON(!TEST_FLAG_VALUE(FLAG)) static inline void ext4_check_flag_values(void)