mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
refactor: correct variable naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c48e57e2de
commit
92838c05fd
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user