Loading drivers/mtd/ftl.c +1 −1 Original line number Diff line number Diff line Loading @@ -598,7 +598,7 @@ static int copy_erase_unit(partition_t *part, uint16_t srcunit, unit with the fewest erases, and usually pick the data unit with the most deleted blocks. But with a small probability, pick the oldest data unit instead. This means that we generally postpone the next reclaimation as long as possible, but shuffle static the next reclamation as long as possible, but shuffle static stuff around a bit for wear leveling. ======================================================================*/ Loading drivers/mtd/inftlmount.c +1 −1 Original line number Diff line number Diff line Loading @@ -367,7 +367,7 @@ static int check_free_sectors(struct INFTLrecord *inftl, unsigned int address, * * Return: 0 when succeed, -1 on error. * * ToDo: 1. Is it neceressary to check_free_sector after erasing ?? * ToDo: 1. Is it necessary to check_free_sector after erasing ?? */ int INFTL_formatblock(struct INFTLrecord *inftl, int block) { Loading drivers/mtd/mtdchar.c +2 −2 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ static struct vfsmount *mtd_inode_mnt __read_mostly; /* * Data structure to hold the pointer to the mtd device as well * as mode information ofr various use cases. * as mode information of various use cases. */ struct mtd_file_info { struct mtd_info *mtd; Loading Loading @@ -495,7 +495,7 @@ static int mtd_do_readoob(struct mtd_info *mtd, uint64_t start, /* * Copies (and truncates, if necessary) data from the larger struct, * nand_ecclayout, to the smaller, deprecated layout struct, * nand_ecclayout_user. This is necessary only to suppport the deprecated * nand_ecclayout_user. This is necessary only to support the deprecated * API ioctl ECCGETLAYOUT while allowing all new functionality to use * nand_ecclayout flexibly (i.e. the struct may change size in new * releases without requiring major rewrites). Loading drivers/mtd/mtdconcat.c +1 −1 Original line number Diff line number Diff line Loading @@ -770,7 +770,7 @@ struct mtd_info *mtd_concat_create(struct mtd_info *subdev[], /* subdevices to c /* * Set up the new "super" device's MTD object structure, check for * incompatibilites between the subdevices. * incompatibilities between the subdevices. */ concat->mtd.type = subdev[0]->type; concat->mtd.flags = subdev[0]->flags; Loading drivers/mtd/mtdcore.c +1 −1 Original line number Diff line number Diff line Loading @@ -449,7 +449,7 @@ int del_mtd_device(struct mtd_info *mtd) * is used, see 'parse_mtd_partitions()' for more information). If none are * found this functions tries to fallback to information specified in * @parts/@nr_parts. * * If any parititioning info was found, this function registers the found * * If any partitioning info was found, this function registers the found * partitions. * * If no partitions were found this function just registers the MTD device * @mtd and exits. Loading Loading
drivers/mtd/ftl.c +1 −1 Original line number Diff line number Diff line Loading @@ -598,7 +598,7 @@ static int copy_erase_unit(partition_t *part, uint16_t srcunit, unit with the fewest erases, and usually pick the data unit with the most deleted blocks. But with a small probability, pick the oldest data unit instead. This means that we generally postpone the next reclaimation as long as possible, but shuffle static the next reclamation as long as possible, but shuffle static stuff around a bit for wear leveling. ======================================================================*/ Loading
drivers/mtd/inftlmount.c +1 −1 Original line number Diff line number Diff line Loading @@ -367,7 +367,7 @@ static int check_free_sectors(struct INFTLrecord *inftl, unsigned int address, * * Return: 0 when succeed, -1 on error. * * ToDo: 1. Is it neceressary to check_free_sector after erasing ?? * ToDo: 1. Is it necessary to check_free_sector after erasing ?? */ int INFTL_formatblock(struct INFTLrecord *inftl, int block) { Loading
drivers/mtd/mtdchar.c +2 −2 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ static struct vfsmount *mtd_inode_mnt __read_mostly; /* * Data structure to hold the pointer to the mtd device as well * as mode information ofr various use cases. * as mode information of various use cases. */ struct mtd_file_info { struct mtd_info *mtd; Loading Loading @@ -495,7 +495,7 @@ static int mtd_do_readoob(struct mtd_info *mtd, uint64_t start, /* * Copies (and truncates, if necessary) data from the larger struct, * nand_ecclayout, to the smaller, deprecated layout struct, * nand_ecclayout_user. This is necessary only to suppport the deprecated * nand_ecclayout_user. This is necessary only to support the deprecated * API ioctl ECCGETLAYOUT while allowing all new functionality to use * nand_ecclayout flexibly (i.e. the struct may change size in new * releases without requiring major rewrites). Loading
drivers/mtd/mtdconcat.c +1 −1 Original line number Diff line number Diff line Loading @@ -770,7 +770,7 @@ struct mtd_info *mtd_concat_create(struct mtd_info *subdev[], /* subdevices to c /* * Set up the new "super" device's MTD object structure, check for * incompatibilites between the subdevices. * incompatibilities between the subdevices. */ concat->mtd.type = subdev[0]->type; concat->mtd.flags = subdev[0]->flags; Loading
drivers/mtd/mtdcore.c +1 −1 Original line number Diff line number Diff line Loading @@ -449,7 +449,7 @@ int del_mtd_device(struct mtd_info *mtd) * is used, see 'parse_mtd_partitions()' for more information). If none are * found this functions tries to fallback to information specified in * @parts/@nr_parts. * * If any parititioning info was found, this function registers the found * * If any partitioning info was found, this function registers the found * partitions. * * If no partitions were found this function just registers the MTD device * @mtd and exits. Loading