]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: bcm : Fix typo in staging/bcm
authorMasanari Iida <standby24x7@gmail.com>
Sat, 11 Jan 2014 02:26:27 +0000 (11:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Jan 2014 20:52:42 +0000 (12:52 -0800)
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>
drivers/staging/bcm/Adapter.h
drivers/staging/bcm/Bcmchar.c
drivers/staging/bcm/PHSModule.c
drivers/staging/bcm/nvm.c

index 9cd59871adb2af112520b873dc5eeedf6e65975e..f0d6f0c382079dd4c9d85ea479ee6721e3263e5f 100644 (file)
@@ -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;
index 62415342ee288dcd5420ec19b74c440efdcb1db9..f1b6de0293c8f69d7b205c39fc598be43b86e092 100644 (file)
@@ -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;
                }
 
index 892ebc65cdd3964de42a2688368a259718753cab..afc7bcc3e54b5bce09b7ea36c74b413047ede7a4 100644 (file)
@@ -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++;
index 1128abf8a7762474ffcebe3596ea5155b4ec1509..fca164f51f4b117623e23e48b02d35007c3c3e81 100644 (file)
@@ -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;
        }