mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
fat: fix build warning
This fixes a compile warning (unititialized variable) in the fat filesystem code. Signed-off-by: Jonas Aberg <[email protected]> Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: OGAWA Hirofumi <[email protected]>
This commit is contained in:
parent
02f8c6aee8
commit
8c320c079c
1 changed files with 1 additions and 1 deletions
|
|
@ -1231,7 +1231,7 @@ int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
|
|||
struct super_block *sb = dir->i_sb;
|
||||
struct msdos_sb_info *sbi = MSDOS_SB(sb);
|
||||
struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */
|
||||
struct msdos_dir_entry *de;
|
||||
struct msdos_dir_entry *uninitialized_var(de);
|
||||
int err, free_slots, i, nr_bhs;
|
||||
loff_t pos, i_pos;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue