staging: bcm : Fix typo in staging/bcm
This patch fixed spelling typo in comment and printks withing staging/bcm. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b76ed59f75
commit
276d30eab9
|
@ -378,7 +378,7 @@ struct bcm_mini_adapter {
|
|||
UINT uiFlashLayoutMinorVersion;
|
||||
bool bAllDSDWriteAllow;
|
||||
bool bSigCorrupted;
|
||||
/* this should be set who so ever want to change the Headers. after Wrtie it should be reset immediately. */
|
||||
/* this should be set who so ever want to change the Headers. after Write it should be reset immediately. */
|
||||
bool bHeaderChangeAllowed;
|
||||
int SelectedChip;
|
||||
bool bEndPointHalted;
|
||||
|
|
|
@ -1770,12 +1770,12 @@ cntrlEnd:
|
|||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "NOB :%x", sCopySectStrut.numOfBytes);
|
||||
|
||||
if (IsSectionExistInFlash(Adapter, sCopySectStrut.SrcSection) == false) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Source Section<%x> does not exixt in Flash ", sCopySectStrut.SrcSection);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Source Section<%x> does not exist in Flash ", sCopySectStrut.SrcSection);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (IsSectionExistInFlash(Adapter, sCopySectStrut.DstSection) == false) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Destinatio Section<%x> does not exixt in Flash ", sCopySectStrut.DstSection);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Destinatio Section<%x> does not exist in Flash ", sCopySectStrut.DstSection);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
@ -1880,7 +1880,7 @@ cntrlEnd:
|
|||
|
||||
SectOfset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal);
|
||||
if (SectOfset == INVALID_OFFSET) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Provided Section val <%d> does not exixt in Flash 2.x", eFlash2xSectionVal);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Provided Section val <%d> does not exist in Flash 2.x", eFlash2xSectionVal);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
@ -1280,11 +1280,11 @@ static int phs_decompress(unsigned char *in_buf,
|
|||
|
||||
if (bit == SUPPRESS) {
|
||||
*out_buf = *phsf;
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d phsf %d ouput %d",
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d phsf %d output %d",
|
||||
phss, *phsf, *out_buf);
|
||||
} else {
|
||||
*out_buf = *in_buf;
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d input %d ouput %d",
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d input %d output %d",
|
||||
phss, *in_buf, *out_buf);
|
||||
in_buf++;
|
||||
size++;
|
||||
|
|
|
@ -2812,7 +2812,7 @@ int BcmFlash2xBulkRead(struct bcm_mini_adapter *Adapter,
|
|||
SectionStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal);
|
||||
|
||||
if (SectionStartOffset == STATUS_FAILURE) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exixt in Flash 2.x Map ", eFlash2xSectionVal);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exist in Flash 2.x Map ", eFlash2xSectionVal);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
@ -2875,7 +2875,7 @@ int BcmFlash2xBulkWrite(struct bcm_mini_adapter *Adapter,
|
|||
FlashSectValStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectVal);
|
||||
|
||||
if (FlashSectValStartOffset == STATUS_FAILURE) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exixt in Flash Map 2.x", eFlash2xSectVal);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exist in Flash Map 2.x", eFlash2xSectVal);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
@ -3850,7 +3850,7 @@ int validateFlash2xReadWrite(struct bcm_mini_adapter *Adapter, struct bcm_flash2
|
|||
uiNumOfBytes = psFlash2xReadWrite->numOfBytes;
|
||||
|
||||
if (IsSectionExistInFlash(Adapter, psFlash2xReadWrite->Section) != TRUE) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%x> does not exixt in Flash", psFlash2xReadWrite->Section);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%x> does not exist in Flash", psFlash2xReadWrite->Section);
|
||||
return false;
|
||||
}
|
||||
uiSectStartOffset = BcmGetSectionValStartOffset(Adapter, psFlash2xReadWrite->Section);
|
||||
|
@ -4478,13 +4478,13 @@ int IsSectionWritable(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section
|
|||
int Status = false;
|
||||
|
||||
if (IsSectionExistInFlash(Adapter, Section) == false) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section <%d> does not exixt", Section);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section <%d> does not exist", Section);
|
||||
return false;
|
||||
}
|
||||
|
||||
offset = BcmGetSectionValStartOffset(Adapter, Section);
|
||||
if (offset == INVALID_OFFSET) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%d> does not exixt", Section);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%d> does not exist", Section);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue