docs: fix 23 typos in source comments - #327
Open
Avicennasis wants to merge 1 commit into
Open
Avicennasis wants to merge 1 commit into
Avicennasis wants to merge 1 commit into
Conversation
Comment-only spelling and grammar corrections across six files in src/. No code, identifiers, or behaviour are changed. Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes 23 spelling and grammar typos in source-code comments across six files
in
src/. No code, identifiers, or behaviour are changed - every hunk isinside a
/* */or//comment.Cited fixes (21)
privledged->privileged;base respons on->base response onfunciton->function;lenght->length;unecessary->unnecessary;succes and nil pointer->success and nil pointer;If qualifiy is set->If qualify is set(now matches the realqualifyparameter)funcitons->functions(x2);This funciton is->This function isrname()->rename();Convenience funcitons->Convenience functions;soruce file des->source file des;unditionally free->unconditionally freefinshed->finished;ititialise->initialise(en-GB spelling kept,matching the rest of the repo);
A return of -1 indicated an error->indicates;offset into bit poool->offset into bit pool(x3)'primatives'->'primitives'Additionally noticed (2, not in the original report)
arbitors->arbitersin two comments.The repo already spells it
arbitersinsrc/vfd/qos.c, so this is an internalinconsistency rather than a preference.
Deliberately left alone
simpe_atomic_swap,waist_cycles,waist_time,t_usefullinsrc/support/dpdk_app/ifrate.handsrc/support/dpdk_app/utils.hare realidentifiers; renaming them would be an API change, so they are untouched.
src/vfd/vfd_dcb.candsrc/vfd/sriov.cis left aswritten: the repo uses "programme"/"programmes" consistently (4 occurrences, no
American "program" anywhere) alongside "initialise"/"recognised", so it is the
author's spelling, not a typo.
src/lib/jw_xapi.cjwx_get_value_as_str()appears to be missing abreak;after thecase JWFMT_FLOAT:branch (line 75), so a float format falls through toJWFMT_HEX. That is a behavioural fix and is intentionally not part ofthis documentation-only PR.