Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masanari Iida and committed by
Greg Kroah-Hartman
276d30ea b76ed59f

+11 -11
+1 -1
drivers/staging/bcm/Adapter.h
··· 378 378 UINT uiFlashLayoutMinorVersion; 379 379 bool bAllDSDWriteAllow; 380 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 382 bool bHeaderChangeAllowed; 383 383 int SelectedChip; 384 384 bool bEndPointHalted;
+3 -3
drivers/staging/bcm/Bcmchar.c
··· 1770 1770 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "NOB :%x", sCopySectStrut.numOfBytes); 1771 1771 1772 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 1774 return -EINVAL; 1775 1775 } 1776 1776 1777 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 1779 return -EINVAL; 1780 1780 } 1781 1781 ··· 1880 1880 1881 1881 SectOfset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal); 1882 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 1884 return -EINVAL; 1885 1885 } 1886 1886
+2 -2
drivers/staging/bcm/PHSModule.c
··· 1280 1280 1281 1281 if (bit == SUPPRESS) { 1282 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 1284 phss, *phsf, *out_buf); 1285 1285 } else { 1286 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 1288 phss, *in_buf, *out_buf); 1289 1289 in_buf++; 1290 1290 size++;
+5 -5
drivers/staging/bcm/nvm.c
··· 2812 2812 SectionStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectionVal); 2813 2813 2814 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 2816 return -EINVAL; 2817 2817 } 2818 2818 ··· 2875 2875 FlashSectValStartOffset = BcmGetSectionValStartOffset(Adapter, eFlash2xSectVal); 2876 2876 2877 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 2879 return -EINVAL; 2880 2880 } 2881 2881 ··· 3850 3850 uiNumOfBytes = psFlash2xReadWrite->numOfBytes; 3851 3851 3852 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 3854 return false; 3855 3855 } 3856 3856 uiSectStartOffset = BcmGetSectionValStartOffset(Adapter, psFlash2xReadWrite->Section); ··· 4478 4478 int Status = false; 4479 4479 4480 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 4482 return false; 4483 4483 } 4484 4484 4485 4485 offset = BcmGetSectionValStartOffset(Adapter, Section); 4486 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 4488 return false; 4489 4489 } 4490 4490