Skip to content

Commit

Permalink
Merge pull request #385 from cclauss/codespell
Browse files Browse the repository at this point in the history
Fix typos discovered by codespell
  • Loading branch information
gchatelet authored Feb 26, 2025
2 parents 0189e5b + dcddc4a commit 47cd901
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ option(BUILD_SHARED_LIBS "Build library as shared." OFF)
# Force PIC on unix when building shared libs
# see: https://en.wikipedia.org/wiki/Position-independent_code
if(BUILD_SHARED_LIBS AND UNIX)
option(CMAKE_POSITION_INDEPENDENT_CODE "Build with Position Independant Code." ON)
option(CMAKE_POSITION_INDEPENDENT_CODE "Build with Position Independent Code." ON)
endif()

include(CheckIncludeFile)
Expand Down
2 changes: 1 addition & 1 deletion cmake/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ make mips32_test
```

### Docker layers
Dockerfile is splitted in several stages.
Dockerfile is split in several stages.

![docker](doc/docker.svg)

Expand Down
4 changes: 2 additions & 2 deletions include/cpuinfo_ppc.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ typedef enum {
PPC_HAS_MMU, /* Memory management unit */
PPC_HAS_4xxMAC,
PPC_UNIFIED_CACHE, /* Unified instruction and data cache */
PPC_HAS_SPE, /* Signal processing extention unit */
PPC_HAS_SPE, /* Signal processing extension unit */
PPC_HAS_EFP_SINGLE, /* SPE single precision fpu */
PPC_HAS_EFP_DOUBLE, /* SPE double precision fpu */
PPC_NO_TB, /* No timebase */
Expand All @@ -116,7 +116,7 @@ typedef enum {
PPC_POWER6_EXT,
PPC_ARCH_2_06, /* ISA 2.06 - POWER7 */
PPC_HAS_VSX, /* Vector-scalar extension */
PPC_PSERIES_PERFMON_COMPAT, /* Set of backwards compatibile performance
PPC_PSERIES_PERFMON_COMPAT, /* Set of backwards compatible performance
monitoring events */
PPC_TRUE_LE,
PPC_PPC_LE,
Expand Down
2 changes: 1 addition & 1 deletion include/cpuinfo_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ typedef struct {
// Calls cpuid and returns an initialized X86info.
X86Info GetX86Info(void);

// Returns cache hierarchy informations.
// Returns cache hierarchy information.
// Can call cpuid multiple times.
CacheInfo GetX86CacheInfo(void);

Expand Down
2 changes: 1 addition & 1 deletion ndk_compat/cpu-features.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ extern uint64_t android_getCpuFeatures(void);
* This flag implies -mfpu=neon-vfpv4.
*
* -mcpu=iwmmxt
* Allows the use of iWMMXt instrinsics with GCC.
* Allows the use of iWMMXt intrinsics with GCC.
*
* IMPORTANT NOTE: These flags should only be tested when
* android_getCpuFamily() returns ANDROID_CPU_FAMILY_ARM, i.e. this is a
Expand Down
4 changes: 2 additions & 2 deletions scripts/make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FINISHED='\033[1;96m'
NOCOLOR='\033[0m'
ERROR='\033[0;31m'

echo -e "${ACTION}Checking environnement${NOCOLOR}"
echo -e "${ACTION}Checking environment${NOCOLOR}"
if [[ ! $1 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
then
echo -e "${ERROR}Invalid version number. Aborting. ${NOCOLOR}"
Expand Down Expand Up @@ -40,7 +40,7 @@ fi
git update-index -q --refresh
if ! git diff-index --quiet HEAD --
then
echo -e "${ERROR}Branch has uncommited changes. Aborting.${NOCOLOR}"
echo -e "${ERROR}Branch has uncommitted changes. Aborting.${NOCOLOR}"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion src/impl_ppc_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static const PPCInfo kEmptyPPCInfo;
PPCInfo GetPPCInfo(void) {
/*
* On Power feature flags aren't currently in cpuinfo so we only look at
* the auxilary vector.
* the auxiliary vector.
*/
PPCInfo info = kEmptyPPCInfo;
const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities();
Expand Down
2 changes: 1 addition & 1 deletion test/cpuinfo_mips_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ TEST(CpuinfoMipsTest, Goldfish) {
auto& fs = GetEmptyFilesystem();
fs.CreateFile("/proc/cpuinfo", R"(system type : MIPS-Goldfish
Hardware : goldfish
Revison : 1
Revision : 1
processor : 0
cpu model : MIPS 24Kc V0.0 FPU V0.0
BogoMIPS : 1042.02
Expand Down

0 comments on commit 47cd901

Please sign in to comment.