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

scsi: mpt3sas: Fix typo in request_desript_type

Fixed typo in request_desript_type.
request_desript_type --> request_descript_type.

Signed-off-by: Suganath Prabu <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Suganath Prabu and committed by
Martin K. Petersen
2c063507 0322913c

+9 -9
+9 -9
drivers/scsi/mpt3sas/mpt3sas_base.c
··· 1395 1395 struct adapter_reply_queue *reply_q = bus_id; 1396 1396 union reply_descriptor rd; 1397 1397 u32 completed_cmds; 1398 - u8 request_desript_type; 1398 + u8 request_descript_type; 1399 1399 u16 smid; 1400 1400 u8 cb_idx; 1401 1401 u32 reply; ··· 1411 1411 return IRQ_NONE; 1412 1412 1413 1413 rpf = &reply_q->reply_post_free[reply_q->reply_post_host_index]; 1414 - request_desript_type = rpf->Default.ReplyFlags 1414 + request_descript_type = rpf->Default.ReplyFlags 1415 1415 & MPI2_RPY_DESCRIPT_FLAGS_TYPE_MASK; 1416 - if (request_desript_type == MPI2_RPY_DESCRIPT_FLAGS_UNUSED) { 1416 + if (request_descript_type == MPI2_RPY_DESCRIPT_FLAGS_UNUSED) { 1417 1417 atomic_dec(&reply_q->busy); 1418 1418 return IRQ_NONE; 1419 1419 } ··· 1426 1426 goto out; 1427 1427 reply = 0; 1428 1428 smid = le16_to_cpu(rpf->Default.DescriptorTypeDependent1); 1429 - if (request_desript_type == 1429 + if (request_descript_type == 1430 1430 MPI25_RPY_DESCRIPT_FLAGS_FAST_PATH_SCSI_IO_SUCCESS || 1431 - request_desript_type == 1431 + request_descript_type == 1432 1432 MPI2_RPY_DESCRIPT_FLAGS_SCSI_IO_SUCCESS || 1433 - request_desript_type == 1433 + request_descript_type == 1434 1434 MPI26_RPY_DESCRIPT_FLAGS_PCIE_ENCAPSULATED_SUCCESS) { 1435 1435 cb_idx = _base_get_cb_idx(ioc, smid); 1436 1436 if ((likely(cb_idx < MPT_MAX_CALLBACKS)) && ··· 1440 1440 if (rc) 1441 1441 mpt3sas_base_free_smid(ioc, smid); 1442 1442 } 1443 - } else if (request_desript_type == 1443 + } else if (request_descript_type == 1444 1444 MPI2_RPY_DESCRIPT_FLAGS_ADDRESS_REPLY) { 1445 1445 reply = le32_to_cpu( 1446 1446 rpf->AddressReply.ReplyFrameAddress); ··· 1486 1486 (reply_q->reply_post_host_index == 1487 1487 (ioc->reply_post_queue_depth - 1)) ? 0 : 1488 1488 reply_q->reply_post_host_index + 1; 1489 - request_desript_type = 1489 + request_descript_type = 1490 1490 reply_q->reply_post_free[reply_q->reply_post_host_index]. 1491 1491 Default.ReplyFlags & MPI2_RPY_DESCRIPT_FLAGS_TYPE_MASK; 1492 1492 completed_cmds++; ··· 1509 1509 } 1510 1510 completed_cmds = 1; 1511 1511 } 1512 - if (request_desript_type == MPI2_RPY_DESCRIPT_FLAGS_UNUSED) 1512 + if (request_descript_type == MPI2_RPY_DESCRIPT_FLAGS_UNUSED) 1513 1513 goto out; 1514 1514 if (!reply_q->reply_post_host_index) 1515 1515 rpf = reply_q->reply_post_free;