Skip to content

Commit c35b1de

Browse files
authored
Merge pull request #51 from Samsung/kernel_os/drivers
Fix typos in files of os/drivers
2 parents 6ad3a20 + d6e1fa9 commit c35b1de

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

os/drivers/usbhost/usbhost_storage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ static int usbhost_close(FAR struct inode *inode)
18661866
* Name: usbhost_read
18671867
*
18681868
* Description:
1869-
* Read the specified numer of sectors from the read-ahead buffer or from
1869+
* Read the specified number of sectors from the read-ahead buffer or from
18701870
* the physical device.
18711871
*
18721872
****************************************************************************/

os/fs/driver/mtd/ftl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static int ftl_close(FAR struct inode *inode)
149149
/****************************************************************************
150150
* Name: ftl_reload
151151
*
152-
* Description: Read the specified numer of sectors
152+
* Description: Read the specified number of sectors
153153
*
154154
****************************************************************************/
155155

@@ -171,7 +171,7 @@ static ssize_t ftl_reload(FAR void *priv, FAR uint8_t *buffer, off_t startblock,
171171
/****************************************************************************
172172
* Name: ftl_read
173173
*
174-
* Description: Read the specified numer of sectors
174+
* Description: Read the specified number of sectors
175175
*
176176
****************************************************************************/
177177

os/fs/driver/mtd/mtd_partition.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ static int part_procfs_dup(FAR const struct file *oldp, FAR struct file *newp)
656656
return -ENOMEM;
657657
}
658658

659-
/* The copy the file attribtes from the old attributes to the new */
659+
/* The copy the file attributes from the old attributes to the new */
660660

661661
memcpy(newattr, oldattr, sizeof(struct part_procfs_file_s));
662662

os/fs/driver/mtd/mtd_procfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static int mtd_dup(FAR const struct file *oldp, FAR struct file *newp)
280280
return -ENOMEM;
281281
}
282282

283-
/* The copy the file attribtes from the old attributes to the new */
283+
/* The copy the file attributes from the old attributes to the new */
284284

285285
memcpy(newattr, oldattr, sizeof(struct mtd_file_s));
286286

os/fs/driver/mtd/smart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ int smart_checkfree(FAR struct smart_struct_s *dev, int lineno)
715715
/****************************************************************************
716716
* Name: smart_reload
717717
*
718-
* Description: Read the specified numer of sectors
718+
* Description: Read the specified number of sectors
719719
*
720720
****************************************************************************/
721721

@@ -747,7 +747,7 @@ static ssize_t smart_reload(struct smart_struct_s *dev, FAR uint8_t *buffer, off
747747
/****************************************************************************
748748
* Name: smart_read
749749
*
750-
* Description: Read the specified numer of sectors
750+
* Description: Read the specified number of sectors
751751
*
752752
****************************************************************************/
753753

os/fs/procfs/fs_skeleton.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ static int skel_dup(FAR const struct file *oldp, FAR struct file *newp)
278278
return -ENOMEM;
279279
}
280280

281-
/* The copy the file attribtes from the old attributes to the new */
281+
/* The copy the file attributes from the old attributes to the new */
282282

283283
memcpy(newpriv, oldpriv, sizeof(struct skel_file_s));
284284

os/fs/smartfs/smartfs_procfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ static int smartfs_dup(FAR const struct file *oldp, FAR struct file *newp)
487487
return -ENOMEM;
488488
}
489489

490-
/* The copy the file attribtes from the old attributes to the new */
490+
/* The copy the file attributes from the old attributes to the new */
491491

492492
memcpy(newpriv, oldpriv, sizeof(struct smartfs_file_s));
493493

0 commit comments

Comments
 (0)