From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- include/arch/x86_64/linux/msdos_fs.h | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'include/arch/x86_64/linux/msdos_fs.h') diff --git a/include/arch/x86_64/linux/msdos_fs.h b/include/arch/x86_64/linux/msdos_fs.h index 5b47d3fe..a2a39c57 100644 --- a/include/arch/x86_64/linux/msdos_fs.h +++ b/include/arch/x86_64/linux/msdos_fs.h @@ -82,9 +82,8 @@ #define FAT_FSINFO_SIG1 0x41615252 #define FAT_FSINFO_SIG2 0x61417272 -#define IS_FSINFO(x) \ - (le32_to_cpu((x)->signature1) == FAT_FSINFO_SIG1 && \ - le32_to_cpu((x)->signature2) == FAT_FSINFO_SIG2) +#define IS_FSINFO(x) \ + (le32_to_cpu((x)->signature1) == FAT_FSINFO_SIG1 && le32_to_cpu((x)->signature2) == FAT_FSINFO_SIG2) #define FAT_STATE_DIRTY 0x01 @@ -126,14 +125,14 @@ struct fat_boot_sector { union { struct { /* Extended BPB Fields for FAT16 */ - __u8 drive_number; /* Physical drive number */ - __u8 state; /* undocumented, but used - for mount state. */ - __u8 signature; /* extended boot signature */ - __u8 vol_id[4]; /* volume ID */ + __u8 drive_number; /* Physical drive number */ + __u8 state; /* undocumented, but used + for mount state. */ + __u8 signature; /* extended boot signature */ + __u8 vol_id[4]; /* volume ID */ __u8 vol_label[MSDOS_NAME]; /* volume label */ __u8 fs_type[8]; /* file system type */ - /* other fields are not added here */ + /* other fields are not added here */ } fat16; struct { @@ -149,14 +148,14 @@ struct fat_boot_sector { __le16 backup_boot; /* backup boot sector */ __le16 reserved2[6]; /* Unused */ /* Extended BPB Fields for FAT32 */ - __u8 drive_number; /* Physical drive number */ - __u8 state; /* undocumented, but used - for mount state. */ - __u8 signature; /* extended boot signature */ - __u8 vol_id[4]; /* volume ID */ + __u8 drive_number; /* Physical drive number */ + __u8 state; /* undocumented, but used + for mount state. */ + __u8 signature; /* extended boot signature */ + __u8 vol_id[4]; /* volume ID */ __u8 vol_label[MSDOS_NAME]; /* volume label */ __u8 fs_type[8]; /* file system type */ - /* other fields are not added here */ + /* other fields are not added here */ } fat32; }; }; -- cgit v1.2.3