3838
3939typedef struct file_private_info {
4040 loff_t offset ; /* offset of last read in file */
41- int act_area ; /* number of last formated area */
41+ int act_area ; /* number of last formatted area */
4242 int act_page ; /* act page in given area */
43- int act_entry ; /* last formated entry (offset */
43+ int act_entry ; /* last formatted entry (offset */
4444 /* relative to beginning of last */
45- /* formated page) */
45+ /* formatted page) */
4646 size_t act_entry_offset ; /* up to this offset we copied */
47- /* in last read the last formated */
47+ /* in last read the last formatted */
4848 /* entry to userland */
4949 char temp_buf [2048 ]; /* buffer for output */
5050 debug_info_t * debug_info_org ; /* original debug information */
@@ -63,7 +63,7 @@ typedef struct {
6363 long args [];
6464} debug_sprintf_entry_t ;
6565
66- /* internal function prototyes */
66+ /* internal function prototypes */
6767
6868static int debug_init (void );
6969static ssize_t debug_output (struct file * file , char __user * user_buf ,
@@ -380,7 +380,7 @@ static void debug_info_put(debug_info_t *db_info)
380380
381381/*
382382 * debug_format_entry:
383- * - format one debug entry and return size of formated data
383+ * - format one debug entry and return size of formatted data
384384 */
385385static int debug_format_entry (file_private_info_t * p_info )
386386{
@@ -449,7 +449,7 @@ static inline int debug_next_entry(file_private_info_t *p_info)
449449/*
450450 * debug_output:
451451 * - called for user read()
452- * - copies formated debug entries to the user buffer
452+ * - copies formatted debug entries to the user buffer
453453 */
454454static ssize_t debug_output (struct file * file , /* file descriptor */
455455 char __user * user_buf , /* user buffer */
@@ -523,7 +523,7 @@ static ssize_t debug_input(struct file *file, const char __user *user_buf,
523523/*
524524 * debug_open:
525525 * - called for user open()
526- * - copies formated output to private_data area of the file
526+ * - copies formatted output to private_data area of the file
527527 * handle
528528 */
529529static int debug_open (struct inode * inode , struct file * file )
@@ -1513,7 +1513,7 @@ int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view,
15131513EXPORT_SYMBOL (debug_dflt_header_fn );
15141514
15151515/*
1516- * prints debug data sprintf-formated :
1516+ * prints debug data sprintf-formatted :
15171517 * debug_sprinf_event/exception calls must be used together with this view
15181518 */
15191519
0 commit comments