File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -88,13 +88,13 @@ size_t ubi_calc_fm_size(struct ubi_device *ubi)
88
88
{
89
89
size_t size ;
90
90
91
- size = sizeof (struct ubi_fm_sb ) + \
92
- sizeof (struct ubi_fm_hdr ) + \
93
- sizeof (struct ubi_fm_scan_pool ) + \
94
- sizeof (struct ubi_fm_scan_pool ) + \
95
- (ubi -> peb_count * sizeof (struct ubi_fm_ec )) + \
96
- (sizeof (struct ubi_fm_eba ) + \
97
- (ubi -> peb_count * sizeof (__be32 ))) + \
91
+ size = sizeof (struct ubi_fm_sb ) +
92
+ sizeof (struct ubi_fm_hdr ) +
93
+ sizeof (struct ubi_fm_scan_pool ) +
94
+ sizeof (struct ubi_fm_scan_pool ) +
95
+ (ubi -> peb_count * sizeof (struct ubi_fm_ec )) +
96
+ (sizeof (struct ubi_fm_eba ) +
97
+ (ubi -> peb_count * sizeof (__be32 ))) +
98
98
sizeof (struct ubi_fm_volhdr ) * UBI_MAX_VOLUMES ;
99
99
return roundup (size , ubi -> leb_size );
100
100
}
You can’t perform that action at this time.
0 commit comments