Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs/fat: fix some checkpatch issues in fat.h

Mainly fix spacing issues such as "foo * bar" and "foo= bar"

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Cruz Julian Bishop and committed by
Linus Torvalds
d5a4a386 85cb9bf5

+3 -3
+3 -3
fs/fat/fat.h
··· 61 61 unsigned short sec_per_clus; /* sectors/cluster */ 62 62 unsigned short cluster_bits; /* log2(cluster_size) */ 63 63 unsigned int cluster_size; /* cluster size */ 64 - unsigned char fats,fat_bits; /* number of FATs, FAT bits (12 or 16) */ 64 + unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */ 65 65 unsigned short fat_start; 66 66 unsigned long fat_length; /* FAT start & length (sec.) */ 67 67 unsigned long dir_start; ··· 328 328 unsigned long arg); 329 329 extern const struct file_operations fat_file_operations; 330 330 extern const struct inode_operations fat_file_inode_operations; 331 - extern int fat_setattr(struct dentry * dentry, struct iattr * attr); 331 + extern int fat_setattr(struct dentry *dentry, struct iattr *attr); 332 332 extern void fat_truncate_blocks(struct inode *inode, loff_t offset); 333 333 extern int fat_getattr(struct vfsmount *mnt, struct dentry *dentry, 334 334 struct kstat *stat); ··· 346 346 int isvfat, void (*setup)(struct super_block *)); 347 347 348 348 extern int fat_flush_inodes(struct super_block *sb, struct inode *i1, 349 - struct inode *i2); 349 + struct inode *i2); 350 350 static inline unsigned long fat_dir_hash(int logstart) 351 351 { 352 352 return hash_32(logstart, FAT_HASH_BITS);