Skip to content

Commit dbc6221

Browse files
JoePerchesJiri Kosina
authored andcommitted
treewide: Fix recieve/receive typos
Just spelling fixes. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent e44ba03 commit dbc6221

5 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎drivers/mmc/host/vub300.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,8 +1625,8 @@ static void __vub300_command_response(struct vub300_mmc_host *vub300,
16251625
cmd->error = respretval;
16261626
} else if (cmd->error) {
16271627
/*
1628-
* the error occured sending the command
1629-
* or recieving the response
1628+
* the error occurred sending the command
1629+
* or receiving the response
16301630
*/
16311631
} else if (vub300->command_out_urb->status) {
16321632
vub300->usb_transport_fail = vub300->command_out_urb->status;

‎drivers/net/wan/lmc/lmc_var.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ struct lmc___softc {
380380
/* CSR6 settings */
381381
#define OPERATION_MODE 0x00000200 /* Full Duplex */
382382
#define PROMISC_MODE 0x00000040 /* Promiscuous Mode */
383-
#define RECIEVE_ALL 0x40000000 /* Receive All */
383+
#define RECEIVE_ALL 0x40000000 /* Receive All */
384384
#define PASS_BAD_FRAMES 0x00000008 /* Pass Bad Frames */
385385

386386
/* Dec control registers CSR6 as well */

‎drivers/usb/misc/ftdi-elan.c‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ struct usb_ftdi {
187187
u32 controlreg;
188188
u8 response[4 + 1024];
189189
int expected;
190-
int recieved;
190+
int received;
191191
int ed_found;
192192
};
193193
#define kref_to_usb_ftdi(d) container_of(d, struct usb_ftdi, kref)
@@ -353,7 +353,7 @@ static void ftdi_elan_abandon_targets(struct usb_ftdi *ftdi)
353353
mutex_lock(&ftdi->u132_lock);
354354
}
355355
}
356-
ftdi->recieved = 0;
356+
ftdi->received = 0;
357357
ftdi->expected = 4;
358358
ftdi->ed_found = 0;
359359
mutex_unlock(&ftdi->u132_lock);
@@ -411,7 +411,7 @@ static void ftdi_elan_flush_targets(struct usb_ftdi *ftdi)
411411
}
412412
}
413413
}
414-
ftdi->recieved = 0;
414+
ftdi->received = 0;
415415
ftdi->expected = 4;
416416
ftdi->ed_found = 0;
417417
mutex_unlock(&ftdi->u132_lock);
@@ -447,7 +447,7 @@ static void ftdi_elan_cancel_targets(struct usb_ftdi *ftdi)
447447
}
448448
}
449449
}
450-
ftdi->recieved = 0;
450+
ftdi->received = 0;
451451
ftdi->expected = 4;
452452
ftdi->ed_found = 0;
453453
mutex_unlock(&ftdi->u132_lock);
@@ -874,7 +874,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi,
874874
mutex_unlock(&ftdi->u132_lock);
875875
ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response,
876876
payload);
877-
ftdi->recieved = 0;
877+
ftdi->received = 0;
878878
ftdi->expected = 4;
879879
ftdi->ed_found = 0;
880880
return ftdi->response;
@@ -890,7 +890,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi,
890890
mutex_unlock(&ftdi->u132_lock);
891891
ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response,
892892
payload);
893-
ftdi->recieved = 0;
893+
ftdi->received = 0;
894894
ftdi->expected = 4;
895895
ftdi->ed_found = 0;
896896
return ftdi->response;
@@ -905,7 +905,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi,
905905
mutex_unlock(&ftdi->u132_lock);
906906
ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response,
907907
payload);
908-
ftdi->recieved = 0;
908+
ftdi->received = 0;
909909
ftdi->expected = 4;
910910
ftdi->ed_found = 0;
911911
return ftdi->response;
@@ -914,7 +914,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi,
914914
mutex_unlock(&ftdi->u132_lock);
915915
ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response,
916916
payload);
917-
ftdi->recieved = 0;
917+
ftdi->received = 0;
918918
ftdi->expected = 4;
919919
ftdi->ed_found = 0;
920920
return ftdi->response;
@@ -934,7 +934,7 @@ static char *have_ed_get_response(struct usb_ftdi *ftdi,
934934
if (target->active)
935935
ftdi_elan_do_callback(ftdi, target, NULL, 0);
936936
target->abandoning = 0;
937-
ftdi->recieved = 0;
937+
ftdi->received = 0;
938938
ftdi->expected = 4;
939939
ftdi->ed_found = 0;
940940
return ftdi->response;
@@ -951,7 +951,7 @@ static char *have_ed_get_response(struct usb_ftdi *ftdi,
951951
*/
952952
static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi)
953953
{
954-
u8 *b = ftdi->response + ftdi->recieved;
954+
u8 *b = ftdi->response + ftdi->received;
955955
int bytes_read = 0;
956956
int retry_on_empty = 1;
957957
int retry_on_timeout = 3;
@@ -1043,11 +1043,11 @@ static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi)
10431043
u8 c = ftdi->bulk_in_buffer[++ftdi->bulk_in_last];
10441044
bytes_read += 1;
10451045
ftdi->bulk_in_left -= 1;
1046-
if (ftdi->recieved == 0 && c == 0xFF) {
1046+
if (ftdi->received == 0 && c == 0xFF) {
10471047
goto have;
10481048
} else
10491049
*b++ = c;
1050-
if (++ftdi->recieved < ftdi->expected) {
1050+
if (++ftdi->received < ftdi->expected) {
10511051
goto have;
10521052
} else if (ftdi->ed_found) {
10531053
int ed_number = (ftdi->response[0] >> 5) & 0x03;
@@ -1069,7 +1069,7 @@ static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi)
10691069
}
10701070
ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response,
10711071
payload);
1072-
ftdi->recieved = 0;
1072+
ftdi->received = 0;
10731073
ftdi->expected = 4;
10741074
ftdi->ed_found = 0;
10751075
b = ftdi->response;
@@ -1089,7 +1089,7 @@ static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi)
10891089
*respond->value = data;
10901090
*respond->result = 0;
10911091
complete(&respond->wait_completion);
1092-
ftdi->recieved = 0;
1092+
ftdi->received = 0;
10931093
ftdi->expected = 4;
10941094
ftdi->ed_found = 0;
10951095
b = ftdi->response;

‎include/scsi/osd_initiator.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ int osd_execute_request_async(struct osd_request *or,
262262
* osd_req_decode_sense_full - Decode sense information after execution.
263263
*
264264
* @or: - osd_request to examine
265-
* @osi - Recievs a more detailed error report information (optional).
265+
* @osi - Receives a more detailed error report information (optional).
266266
* @silent - Do not print to dmsg (Even if enabled)
267267
* @bad_obj_list - Some commands act on multiple objects. Failed objects will
268268
* be received here (optional)

‎sound/soc/omap/ams-delta.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static int cx81801_hangup(struct tty_struct *tty)
330330
return 0;
331331
}
332332

333-
/* Line discipline .recieve_buf() */
333+
/* Line discipline .receive_buf() */
334334
static void cx81801_receive(struct tty_struct *tty,
335335
const unsigned char *cp, char *fp, int count)
336336
{

0 commit comments

Comments
 (0)