Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: dgap: Fix typo in staging/dgap

Correct spelling typo in comments.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Masanari Iida and committed by
Greg Kroah-Hartman
5fc6f1ae 79e30af2

+11 -11
+1 -1
drivers/staging/dgap/dgap_downld.h
··· 35 35 struct fepimg { 36 36 int type; /* board type */ 37 37 int len; /* length of image */ 38 - char fepimage[1]; /* begining of image */ 38 + char fepimage[1]; /* beginning of image */ 39 39 }; 40 40 41 41 struct downldio {
+1 -1
drivers/staging/dgap/dgap_driver.h
··· 46 46 /* 47 47 * Driver identification, error and debugging statments 48 48 * 49 - * In theory, you can change all occurances of "digi" in the next 49 + * In theory, you can change all occurrences of "digi" in the next 50 50 * three lines, and the driver printk's will all automagically change. 51 51 * 52 52 * APR((fmt, args, ...)); Always prints message
+1 -1
drivers/staging/dgap/dgap_fep5.h
··· 211 211 #define SIFLAG 0xea /* Set UNIX iflags */ 212 212 #define SFLOWC 0xeb /* Set flow control characters */ 213 213 #define STLOW 0xec /* Set transmit low water mark */ 214 - #define RPAUSE 0xee /* Pause recieve */ 214 + #define RPAUSE 0xee /* Pause receive */ 215 215 #define RRESUME 0xef /* Resume receive */ 216 216 #define CHRESET 0xf0 /* Reset Channel */ 217 217 #define BUFSETALL 0xf2 /* Set Tx & Rx buffer size avail*/
+2 -2
drivers/staging/dgap/dgap_parse.c
··· 904 904 /* 905 905 * dgap_sindex: much like index(), but it looks for a match of any character in 906 906 * the group, and returns that position. If the first character is a ^, then 907 - * this will match the first occurence not in that group. 907 + * this will match the first occurrence not in that group. 908 908 */ 909 909 static char *dgap_sindex (char *string, char *group) 910 910 { ··· 1152 1152 1153 1153 /* 1154 1154 * Given a specific type of board, if found, detached link and 1155 - * returns the first occurance in the list. 1155 + * returns the first occurrence in the list. 1156 1156 */ 1157 1157 struct cnode *dgap_find_config(int type, int bus, int slot) 1158 1158 {
+2 -2
drivers/staging/dgap/dgap_tty.c
··· 249 249 250 250 /* 251 251 * If we're doing transparent print, we have to do all of the above 252 - * again, seperately so we don't get the LD confused about what major 252 + * again, separately so we don't get the LD confused about what major 253 253 * we are when we get into the dgap_tty_open() routine. 254 254 */ 255 255 brd->PrintDriver = alloc_tty_driver(MAXPORTS); ··· 1069 1069 1070 1070 DGAP_LOCK(brd->bd_lock, lock_flags); 1071 1071 1072 - /* The wait above should guarentee this cannot happen */ 1072 + /* The wait above should guarantee this cannot happen */ 1073 1073 if (brd->state != BOARD_READY) { 1074 1074 DGAP_UNLOCK(brd->bd_lock, lock_flags); 1075 1075 return -ENXIO;
+2 -2
drivers/staging/dgap/digi.h
··· 203 203 unsigned long shrink_buf_vaddr; /* Virtual address of board */ 204 204 unsigned long shrink_buf_phys; /* Physical address of board */ 205 205 unsigned long shrink_buf_bseg; /* Amount of board memory */ 206 - unsigned long shrink_buf_hseg; /* '186 Begining of Dual-Port */ 206 + unsigned long shrink_buf_hseg; /* '186 Beginning of Dual-Port */ 207 207 208 - unsigned long shrink_buf_lseg; /* '186 Begining of freed memory */ 208 + unsigned long shrink_buf_lseg; /* '186 Beginning of freed memory */ 209 209 unsigned long shrink_buf_mseg; /* Linear address from start of 210 210 dual-port were freed memory 211 211 begins, host viewpoint. */
+2 -2
drivers/staging/dgap/downld.c
··· 52 52 void myperror(); 53 53 54 54 /* 55 - ** This structure is used to keep track of the diferent images available 55 + ** This structure is used to keep track of the different images available 56 56 ** to give to the driver. It is arranged so that the things that are 57 57 ** constants or that have defaults are first inthe strucutre to simplify 58 58 ** the table of initializers. ··· 789 789 /* 790 790 ** myperror() 791 791 ** 792 - ** Same as normal perror(), but places the program name at the begining 792 + ** Same as normal perror(), but places the program name at the beginning 793 793 ** of the message. 794 794 */ 795 795 void myperror(char *s)