This patch fixed spelling typo in comment and printks
withing staging/bcm.

Signed-off-by: Masanari Iida <standby2...@gmail.com>
---
 drivers/staging/bcm/Adapter.h   |  2 +-
 drivers/staging/bcm/Bcmchar.c   |  6 +++---
 drivers/staging/bcm/PHSModule.c |  4 ++--
 drivers/staging/bcm/nvm.c       | 10 +++++-----
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index 9cd5987..f0d6f0c 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -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;
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index 6241534..f1b6de0 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -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;
                }
 
diff --git a/drivers/staging/bcm/PHSModule.c b/drivers/staging/bcm/PHSModule.c
index 892ebc6..afc7bcc 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,
 
                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++;
diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c
index 1128abf8..fca164f 100644
--- a/drivers/staging/bcm/nvm.c
+++ b/drivers/staging/bcm/nvm.c
@@ -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;
        }
 
-- 
1.8.5.2.233.g932f7e4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to