1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
Author: Andreas Beckmann <anbe@debian.org>
Description: fix typos found by Lintian
--- a/shared/offline_compiler/source/multi_command.cpp
+++ b/shared/offline_compiler/source/multi_command.cpp
@@ -41,7 +41,7 @@ int MultiCommand::singleBuild(const std:
if (retVal == OclocErrorCode::SUCCESS) {
outputFile << getCurrentDirectoryOwn(outDirForBuilds) + outFileName;
} else {
- outputFile << "Unsuccesful build";
+ outputFile << "Unsuccessful build";
}
outputFile << '\n';
@@ -162,7 +162,7 @@ Usage: ocloc multi <file_name>
'-file <filename> -device <device_type> [compile_options]'.
See 'ocloc compile --help' for available compile_options.
Results of subsequent compilations will be dumped into
- a directory with name indentical file_name's base name.
+ a directory with name identical file_name's base name.
-output_file_list Name of optional file containing
paths to outputs .bin files
--- a/shared/source/compiler_interface/linker.cpp
+++ b/shared/source/compiler_interface/linker.cpp
@@ -445,7 +445,7 @@ std::string constructRelocationsDebugMes
return "";
}
std::stringstream stream;
- stream << "Relocations debug informations :\n";
+ stream << "Relocations debug information :\n";
for (const auto &symbol : relocatedSymbols) {
stream << " * \"" << symbol.first << "\" [" << symbol.second.symbol.size << " bytes]";
stream << " " << asString(symbol.second.symbol.segment) << "_SEGMENT@" << symbol.second.symbol.offset;
--- a/shared/source/compiler_interface/linker.h
+++ b/shared/source/compiler_interface/linker.h
@@ -39,7 +39,7 @@ enum class LinkingStatus : uint32_t {
inline const char *asString(SegmentType segment) {
switch (segment) {
default:
- return "UNKOWN";
+ return "UNKNOWN";
case SegmentType::GlobalConstants:
return "GLOBAL_CONSTANTS";
case SegmentType::GlobalVariables:
--- a/shared/test/unit_test/compiler_interface/linker_tests.cpp
+++ b/shared/test/unit_test/compiler_interface/linker_tests.cpp
@@ -28,7 +28,7 @@
#include <string>
TEST(SegmentTypeTests, givenSegmentTypeWhenAsStringIsCalledThenProperRepresentationIsReturned) {
- EXPECT_STREQ("UNKOWN", NEO::asString(NEO::SegmentType::Unknown));
+ EXPECT_STREQ("UNKNOWN", NEO::asString(NEO::SegmentType::Unknown));
EXPECT_STREQ("GLOBAL_CONSTANTS", NEO::asString(NEO::SegmentType::GlobalConstants));
EXPECT_STREQ("GLOBAL_VARIABLES", NEO::asString(NEO::SegmentType::GlobalVariables));
EXPECT_STREQ("INSTRUCTIONS", NEO::asString(NEO::SegmentType::Instructions));
@@ -1906,7 +1906,7 @@ TEST(RelocationsDebugMessageTests, given
auto message = NEO::constructRelocationsDebugMessage(symbols);
std::stringstream expected;
- expected << "Relocations debug informations :\n";
+ expected << "Relocations debug information :\n";
for (const auto &symbol : symbols) {
if (symbol.first == "foo") {
expected << " * \"foo\" [1024 bytes] INSTRUCTIONS_SEGMENT@64 -> 0x1000 GPUVA\n";
--- a/opencl/test/unit_test/offline_compiler/offline_compiler_tests.cpp
+++ b/opencl/test/unit_test/offline_compiler/offline_compiler_tests.cpp
@@ -382,7 +382,7 @@ Usage: ocloc multi <file_name>
'-file <filename> -device <device_type> [compile_options]'.
See 'ocloc compile --help' for available compile_options.
Results of subsequent compilations will be dumped into
- a directory with name indentical file_name's base name.
+ a directory with name identical file_name's base name.
-output_file_list Name of optional file containing
paths to outputs .bin files
|