From 30b980944bca57e8c922c253903b3eb459e11b69 Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Sat, 6 Jan 2024 01:44:41 -0500 Subject: [PATCH] Update word list (#1072) * Use GNU/Linux sort instead of MacOS Sort * Add new common words to the cSpellWordList.txt * Fix all spelling mistakes but the unit test name one * Fix spelling mistake for test_xTCPCheckNewClient_Not_Found_Not_Accept --- .github/.cSpellWords.txt | 117 +++++++++++++++--- .../NetworkInterface/linux/NetworkInterface.c | 2 +- .../FreeRTOS_TCP_IP/FreeRTOS_TCP_IP_utest.c | 2 +- 3 files changed, 100 insertions(+), 21 deletions(-) diff --git a/.github/.cSpellWords.txt b/.github/.cSpellWords.txt index 25f89f920..40ce1a0d6 100644 --- a/.github/.cSpellWords.txt +++ b/.github/.cSpellWords.txt @@ -1,4 +1,3 @@ - A AAIC ackno @@ -12,6 +11,7 @@ AFECR AFSR AFVALID AIRCR +ALGNERR ALLNS Allo ALMUL @@ -72,6 +72,7 @@ BESR Bfail Bfails BFAR +BFARVALID BFHFNMIGN BFHFNMINS BFRDY @@ -99,6 +100,7 @@ BUFEXH Bufferx BUFFNA BUFNA +BUSFAULTENA BUSFAULTSR C cachel @@ -129,6 +131,8 @@ CHECKSUMOFFLAOD CKHSUMS CLCD CLIDR +CLKDIV +CLKSOURCE CLPSTATE clrex CLREX @@ -150,11 +154,13 @@ CNTS COL COLST CONTROLC +coremqtt cortexa coverity Coverity CPACR CPDLPSTATE +CPIEVTENA Cplt CPPWR cpsid @@ -167,14 +173,19 @@ CPWRDN CRSDV CRVAL CRXDSA +CSDK CSINDICATE CSMC CSPSR CSSELR ctest CTST -CYCDISS CWRD +CYCCNT +CYCCNTENA +CYCDISS +CYCEVTENA +CYCTAP D DACCVIOL DAIF @@ -185,6 +196,7 @@ DBGPPU DBOARD DCACTIVE DCCIMVAC +DCCISW DCCMVAC DCCMVAU DCCSW @@ -193,6 +205,7 @@ DCHP DCIMVAC DCISW DCMAKE +DCMOCK DCOMPILER DCOUNTER DCPF @@ -207,6 +220,9 @@ DEBR DEBUGEN DEBUGF DECASECONDS +decihours +Decihours +DECIHOURS DEFFERRALCHECK DEFR Deglitchers @@ -221,11 +237,11 @@ DISCRITAXIRUW DISDI DISITMATBFLUSH DISLO +DISLOBR DISLOLEP DISNWAMODE DISOLAP DISOLAPS -DISLOBR DISTCPEF DIVIDEBY DIVIDEDBY @@ -237,9 +253,11 @@ DMAC DMACCARBR DMACCARDR DMACCARXBR +DMACCARXDR DMACCATBR DMACCATDR DMACCATXBR +DMACCATXDR DMACCR DMACIER DMACR @@ -260,6 +278,7 @@ DMACTDRLR DMACTDTPR DMACTXCR DMACTXDLAR +DMACTXDTPR DMACTXRLR DMAIER DMAISR @@ -271,6 +290,7 @@ DMAPTPTXDESC DMARDLAR DMARPDR DMARSWTR +DMARXCDESC DMARXDESC dmarxdesclist DMARXNDESCRF @@ -282,6 +302,7 @@ DMATPDR DMATXCDESC DMATXDESC dmatxdesclist +DMATXNDESCRF DMATXNDESCWBF DNDEBUG dnsa @@ -354,8 +375,8 @@ ENOPKTS ENPBPR ENRXP ENTXP -EPHY EPHSR +EPHY ERCAP ERCV ERDRR @@ -385,7 +406,9 @@ evpopov EVTYPER ewic EWIC +EXCEVTENA EXCOL +EXCTRCENA EXDEF EXINT expc @@ -416,17 +439,18 @@ FFSR FIFOSZ FLMSK FMAC +FOLDEVTENA FORCEWT FORWARDALLEXCEPTPA FPCA FPCAR FPCCR -FPHP -FPSP FPDP FPDSCR FPEXCODIS FPGAIO +FPHP +FPSP FRAMERX FRMFILTER frms @@ -436,8 +460,9 @@ FUDUP FULLDPLX FULLDUPLX GARP -GBPS Gbit +GBPS +getpacketid GIGE Giveup GLBLUCAST @@ -512,6 +537,7 @@ INTENSET INTID INTOE INTSPNIDEN +INTSTS INVEP INVER INVPC @@ -544,6 +570,7 @@ ISRPENDING ISRPQ ISRPREEMPT issocketconnected +isystem ITCM ITCMCR ITCR @@ -581,10 +608,10 @@ ldaex LDAEX ldaexb LDAEXB -ldah -LDAH ldaexh LDAEXH +ldah +LDAH ldistance ldrbt LDRBT @@ -646,6 +673,7 @@ MACECR MACFCR MACHT MACHTLR +MACIMR MACISR MACMDIOAR MACMDIODR @@ -655,14 +683,18 @@ MACPCSR MACPMTCSR MACRFCR MACRWKPFR +MACRXTXSR MACSR MACTFCR MACVLANTR +MACVTR MACWTR MADRM MAHTR mainnsppc mainnsppcexp +mainnspppc +mainnspppcexp mainspppc mainspppcexp MAIR @@ -691,6 +723,7 @@ MDIO MDIX MDNS MDOE +MEMFAULTENA MEMFAULTSR MFPH MFPL @@ -713,6 +746,7 @@ MISRA mlan MLAN MLSPERR +MMARVALID MMCCR MMCR MMCRIMR @@ -746,6 +780,7 @@ mvfr MVFR mydevice myethaddr +mypy mzef MZEF NAIAID @@ -761,12 +796,17 @@ netto NFRX NFTX nmake +NOCHECKSUM NOCP NOCPERR NOCRC NOCYCCNT NOEXTTRIG noinit +NONCONTIG +nondet +Nondet +NONDET NOPIDEVAD NOPRFCNT NOTRCPKT @@ -777,9 +817,9 @@ NSID nsmscexp NSNID nstat -NSUNID NSUID NSUIDE +NSUNID Nullpuc Nullpx numaker @@ -869,6 +909,7 @@ PHYID PHYIE phyksz PHYRR +PHYSTS picovolts Picovolts PIDEVAD @@ -893,6 +934,7 @@ PRAS PRDEP PREAMB PRIS +PRIVDEFENA PRMS ps PSCNTR @@ -910,6 +952,9 @@ pwrctrl PWRCTRL PWRDWN PWRMODCTL +pylint +pytest +pyyaml qadd QADD qasx @@ -939,6 +984,7 @@ RDUIEN RDUIF Realtek RECR +REFCLK REGA REGCR Registerss @@ -1062,6 +1108,7 @@ RXSR RXST rxstate RXSTSIE +RXTDIS RXTEN RXTX RXUBR @@ -1071,8 +1118,8 @@ RXWLVL sacfg SACFG SACKP -SAIF SAHB +SAIF SAMB SAMT SARC @@ -1095,6 +1142,7 @@ SDME SDOUT secmscinten secppcinten +SECUREFAULTENA seqnr SEVONPEND SFAR @@ -1121,8 +1169,11 @@ sinit sizet SLCR SLCT +SLEEPEVTENA +SLEEPONEXIT SLEWCTL Slirp +SLOWCLK SMII smlad SMLAD @@ -1151,8 +1202,8 @@ smusd SMUSD smusdx SMUSDX -SNID SNGLCOL +SNID SODR sovr SPEEDEN @@ -1161,8 +1212,8 @@ SPLIMVIOL SPNIDENSEL SPPR SPSEL -Sqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq SQET +Sqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq SRDBL SREGION SREVISION @@ -1233,6 +1284,7 @@ SUPPR SUPR SVLAN SWDEF +SWFDUP SWIER SWINC SWIT @@ -1244,7 +1296,12 @@ SXTAB sxtb SXTB SYMM +SYNCENA synchronised +sysclk +Sysclk +SysClk +SYSCLK SYSCNTR SYSPPU SYSWDOG @@ -1280,6 +1337,7 @@ TPBL TPFCP TPSF TRACEBUSID +TRCENA TSALMIEN TSCTL TSEN @@ -1369,6 +1427,10 @@ UARTRX UARTTX uasx UASX +ubasetype +Ubasetype +UBaseType +UBASETYPE UCKER ucprefix UDPE @@ -1381,18 +1443,25 @@ uhadd UHADD uhasx UHASX +uhsax +UHSAX +uhsub +UHSUB UIDAPEN UIDEN +UMON +UNACKED UNALIGN uncrustify unifdef uninitialised +unpadded +Unpadded +UNPADDED UNSTKERR -uhsax -UHSAX -uhsub -UHSUB -UMON +UNSUB +UNSUBACK +unsubscriptions uqadd UQADD uqasx @@ -1411,6 +1480,7 @@ USAT usax USAX USEND +USGFAULTENA USGFAULTSR USTCR utest @@ -1423,8 +1493,17 @@ UXTB VCATCH vdhcp vdnssearch +vdomainname +vDomainname +vDomainName +vDOMAINNAME +vect +Vect +VECT VECTACTIVE VECTCLRACTIVE +VECTKEY +VECTKEYSTAT VECTPENDING VECTTBL vfpcc @@ -1481,8 +1560,8 @@ xlltemacp XPAR XPBL Xplorer -xpsr XPROT +xpsr xtopology xtopologyp xzvf diff --git a/source/portable/NetworkInterface/linux/NetworkInterface.c b/source/portable/NetworkInterface/linux/NetworkInterface.c index ebf2bff26..143902c2a 100644 --- a/source/portable/NetworkInterface/linux/NetworkInterface.c +++ b/source/portable/NetworkInterface/linux/NetworkInterface.c @@ -863,7 +863,7 @@ static void * prvLinuxPcapSendThread( void * pvParam ) if( pcap_sendpacket( pxOpenedInterfaceHandle, ucBuffer, ( int ) xLength ) != 0 ) { - FreeRTOS_printf( ( "pcap_sendpackeet: send failed %d\n", ulPCAPSendFailures ) ); + FreeRTOS_printf( ( "pcap_sendpacket: send failed %d\n", ulPCAPSendFailures ) ); ulPCAPSendFailures++; } } diff --git a/test/unit-test/FreeRTOS_TCP_IP/FreeRTOS_TCP_IP_utest.c b/test/unit-test/FreeRTOS_TCP_IP/FreeRTOS_TCP_IP_utest.c index 3ecc94fda..ac9c38f09 100644 --- a/test/unit-test/FreeRTOS_TCP_IP/FreeRTOS_TCP_IP_utest.c +++ b/test/unit-test/FreeRTOS_TCP_IP/FreeRTOS_TCP_IP_utest.c @@ -2411,7 +2411,7 @@ void test_xTCPCheckNewClient_Not_Found_Not_TCP( void ) * @brief This function validates not finding a new client * in case bPassAccept is not set. */ -void test_xTCPCheckNewClient_Not_Found_Not_Aceept( void ) +void test_xTCPCheckNewClient_Not_Found_Not_Accept( void ) { BaseType_t Return = pdFALSE;