aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-01-10 21:26:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-11 15:52:42 -0500
commit276d30eab931eae0ce5c5504b8ff4ab4c97b207b (patch)
tree924ccb51c6492116e89180500384a53ccf0ebcbf
parentb76ed59f75d646466eaf60cd73aa4d935ff7dbef (diff)
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>
-rw-r--r--drivers/staging/bcm/Adapter.h2
-rw-r--r--drivers/staging/bcm/Bcmchar.c6
-rw-r--r--drivers/staging/bcm/PHSModule.c4
-rw-r--r--drivers/staging/bcm/nvm.c10
4 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index 9cd59871adb2..f0d6f0c38207 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -378,7 +378,7 @@ struct bcm_mini_adapter {
378 UINT uiFlashLayoutMinorVersion; 378 UINT uiFlashLayoutMinorVersion;
379 bool bAllDSDWriteAllow; 379 bool bAllDSDWriteAllow;
380 bool bSigCorrupted; 380 bool bSigCorrupted;
381 /* this should be set who so ever want to change the Headers. after Wrtie it should be reset immediately. */ 381 /* this should be set who so ever want to change the Headers. after Write it should be reset immediately. */
382 bool bHeaderChangeAllowed; 382 bool bHeaderChangeAllowed;
383 int SelectedChip; 383 int SelectedChip;
384 bool bEndPointHalted; 384 bool bEndPointHalted;
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index 62415342ee28..f1b6de0293c8 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -1770,12 +1770,12 @@ cntrlEnd:
1770 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "NOB :%x", sCopySectStrut.numOfBytes); 1770 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "NOB :%x", sCopySectStrut.numOfBytes);
1771 1771
1772 if (IsSectionExistInFlash(Adapter, sCopySectStrut.SrcSection) == false) { 1772 if (IsSectionExistInFlash(Adapter, sCopySectStrut.SrcSection) == false) {
1773 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Source Section<%x> does not exixt in Flash ", sCopySectStrut.SrcSection); 1773 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Source Section<%x> does not exist in Flash ", sCopySectStrut.SrcSection);
1774 return -EINVAL; 1774 return -EINVAL;
1775 } 1775 }
1776 1776
1777 if (IsSectionExistInFlash(Adapter, sCopySectStrut.DstSection) == false) { 1777 if (IsSectionExistInFlash(Adapter, sCopySectStrut.DstSection) == false) {
1778 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Destinatio Section<%x> does not exixt in Flash ", sCopySectStrut.DstSection); 1778 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Destinatio Section<%x> does not exist in Flash ", sCopySectStrut.DstSection);
1779 return -EINVAL; 1779 return -EINVAL;
1780 } 1780 }
1781 1781
@@ -1880,7 +1880,7 @@ cntrlEnd:
1880 1880
1881 SectOfset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal); 1881 SectOfset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal);
1882 if (SectOfset == INVALID_OFFSET) { 1882 if (SectOfset == INVALID_OFFSET) {
1883 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Provided Section val <%d> does not exixt in Flash 2.x", eFlash2xSectionVal); 1883 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Provided Section val <%d> does not exist in Flash 2.x", eFlash2xSectionVal);
1884 return -EINVAL; 1884 return -EINVAL;
1885 } 1885 }
1886 1886
diff --git a/drivers/staging/bcm/PHSModule.c b/drivers/staging/bcm/PHSModule.c
index 892ebc65cdd3..afc7bcc3e54b 100644
--- a/drivers/staging/bcm/PHSModule.c
+++ b/drivers/staging/bcm/PHSModule.c
@@ -1280,11 +1280,11 @@ static int phs_decompress(unsigned char *in_buf,
1280 1280
1281 if (bit == SUPPRESS) { 1281 if (bit == SUPPRESS) {
1282 *out_buf = *phsf; 1282 *out_buf = *phsf;
1283 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d phsf %d ouput %d", 1283 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d phsf %d output %d",
1284 phss, *phsf, *out_buf); 1284 phss, *phsf, *out_buf);
1285 } else { 1285 } else {
1286 *out_buf = *in_buf; 1286 *out_buf = *in_buf;
1287 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d input %d ouput %d", 1287 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_RECEIVE, DBG_LVL_ALL, "\nDECOMP:In phss %d input %d output %d",
1288 phss, *in_buf, *out_buf); 1288 phss, *in_buf, *out_buf);
1289 in_buf++; 1289 in_buf++;
1290 size++; 1290 size++;
diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c
index 1128abf8a776..fca164f51f4b 100644
--- a/drivers/staging/bcm/nvm.c
+++ b/drivers/staging/bcm/nvm.c
@@ -2812,7 +2812,7 @@ int BcmFlash2xBulkRead(struct bcm_mini_adapter *Adapter,
2812 SectionStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal); 2812 SectionStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal);
2813 2813
2814 if (SectionStartOffset == STATUS_FAILURE) { 2814 if (SectionStartOffset == STATUS_FAILURE) {
2815 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exixt in Flash 2.x Map ", eFlash2xSectionVal); 2815 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exist in Flash 2.x Map ", eFlash2xSectionVal);
2816 return -EINVAL; 2816 return -EINVAL;
2817 } 2817 }
2818 2818
@@ -2875,7 +2875,7 @@ int BcmFlash2xBulkWrite(struct bcm_mini_adapter *Adapter,
2875 FlashSectValStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectVal); 2875 FlashSectValStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectVal);
2876 2876
2877 if (FlashSectValStartOffset == STATUS_FAILURE) { 2877 if (FlashSectValStartOffset == STATUS_FAILURE) {
2878 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exixt in Flash Map 2.x", eFlash2xSectVal); 2878 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "This Section<%d> does not exist in Flash Map 2.x", eFlash2xSectVal);
2879 return -EINVAL; 2879 return -EINVAL;
2880 } 2880 }
2881 2881
@@ -3850,7 +3850,7 @@ int validateFlash2xReadWrite(struct bcm_mini_adapter *Adapter, struct bcm_flash2
3850 uiNumOfBytes = psFlash2xReadWrite->numOfBytes; 3850 uiNumOfBytes = psFlash2xReadWrite->numOfBytes;
3851 3851
3852 if (IsSectionExistInFlash(Adapter, psFlash2xReadWrite->Section) != TRUE) { 3852 if (IsSectionExistInFlash(Adapter, psFlash2xReadWrite->Section) != TRUE) {
3853 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%x> does not exixt in Flash", psFlash2xReadWrite->Section); 3853 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%x> does not exist in Flash", psFlash2xReadWrite->Section);
3854 return false; 3854 return false;
3855 } 3855 }
3856 uiSectStartOffset = BcmGetSectionValStartOffset(Adapter, psFlash2xReadWrite->Section); 3856 uiSectStartOffset = BcmGetSectionValStartOffset(Adapter, psFlash2xReadWrite->Section);
@@ -4478,13 +4478,13 @@ int IsSectionWritable(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_section
4478 int Status = false; 4478 int Status = false;
4479 4479
4480 if (IsSectionExistInFlash(Adapter, Section) == false) { 4480 if (IsSectionExistInFlash(Adapter, Section) == false) {
4481 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section <%d> does not exixt", Section); 4481 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section <%d> does not exist", Section);
4482 return false; 4482 return false;
4483 } 4483 }
4484 4484
4485 offset = BcmGetSectionValStartOffset(Adapter, Section); 4485 offset = BcmGetSectionValStartOffset(Adapter, Section);
4486 if (offset == INVALID_OFFSET) { 4486 if (offset == INVALID_OFFSET) {
4487 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%d> does not exixt", Section); 4487 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Section<%d> does not exist", Section);
4488 return false; 4488 return false;
4489 } 4489 }
4490 4490