refactor: correct variable naming

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-12-04 15:13:06 +00:00
committed by Compute-Runtime-Automation
parent c48e57e2de
commit 92838c05fd
10 changed files with 417 additions and 417 deletions

View File

@@ -162,8 +162,8 @@ DecodeError decodeIntelGTNoteSection(ArrayRef<const uint8_t> intelGTNotesSection
currentPos += currOffset;
auto ownerName = reinterpret_cast<const char *>(ptrOffset(intelGTNote, sizeof(Elf::ElfNoteSection)));
bool isValidGTNote = Elf::IntelGTNoteOwnerName.size() + 1 == nameSz;
isValidGTNote &= Elf::IntelGTNoteOwnerName == ConstStringRef(ownerName, nameSz - 1);
bool isValidGTNote = Elf::intelGTNoteOwnerName.size() + 1 == nameSz;
isValidGTNote &= Elf::intelGTNoteOwnerName == ConstStringRef(ownerName, nameSz - 1);
if (false == isValidGTNote) {
if (0u == nameSz) {
outWarning.append("DeviceBinaryFormat::Zebin : Empty owner name.\n");