mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
scsi: fusion: clean up some indentations
There are several places where the source is not indented correctly with either too many or too few levels of intentation. Fix these. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
a5c351110a
commit
afcfa2c8ed
@@ -1129,6 +1129,7 @@ static void
|
||||
mpt_add_chain(void *pAddr, u8 next, u16 length, dma_addr_t dma_addr)
|
||||
{
|
||||
SGEChain32_t *pChain = (SGEChain32_t *) pAddr;
|
||||
|
||||
pChain->Length = cpu_to_le16(length);
|
||||
pChain->Flags = MPI_SGE_FLAGS_CHAIN_ELEMENT;
|
||||
pChain->NextChainOffset = next;
|
||||
@@ -1360,7 +1361,7 @@ mpt_host_page_alloc(MPT_ADAPTER *ioc, pIOCInit_t ioc_init)
|
||||
ioc->add_sge(psge, flags_length, ioc->HostPageBuffer_dma);
|
||||
ioc->facts.HostPageBufferSGE = ioc_init->HostPageBufferSGE;
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||
@@ -2152,7 +2153,7 @@ mpt_suspend(struct pci_dev *pdev, pm_message_t state)
|
||||
device_state);
|
||||
|
||||
/* put ioc into READY_STATE */
|
||||
if(SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, CAN_SLEEP)) {
|
||||
if (SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, CAN_SLEEP)) {
|
||||
printk(MYIOC_s_ERR_FMT
|
||||
"pci-suspend: IOC msg unit reset failed!\n", ioc->name);
|
||||
}
|
||||
@@ -8092,15 +8093,15 @@ mpt_spi_log_info(MPT_ADAPTER *ioc, u32 log_info)
|
||||
static void
|
||||
mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info, u8 cb_idx)
|
||||
{
|
||||
union loginfo_type {
|
||||
union loginfo_type {
|
||||
u32 loginfo;
|
||||
struct {
|
||||
u32 subcode:16;
|
||||
u32 code:8;
|
||||
u32 originator:4;
|
||||
u32 bus_type:4;
|
||||
}dw;
|
||||
};
|
||||
} dw;
|
||||
};
|
||||
union loginfo_type sas_loginfo;
|
||||
char *originator_desc = NULL;
|
||||
char *code_desc = NULL;
|
||||
|
Reference in New Issue
Block a user