Skip to content

Commit 261c4d3

Browse files
refactor: add NOLINT for hardware info padding warning
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
1 parent 7fa7d42 commit 261c4d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

shared/source/helpers/hw_info.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ inline bool operator==(const RuntimeCapabilityTable &lhs, const RuntimeCapabilit
137137
return result;
138138
}
139139

140-
struct HardwareInfo {
140+
struct HardwareInfo { // NOLINT(clang-analyzer-optin.performance.Padding)
141141
HardwareInfo() = default;
142142
HardwareInfo(const PLATFORM *platform, const FeatureTable *featureTable, const WorkaroundTable *workaroundTable,
143143
const GT_SYSTEM_INFO *gtSystemInfo, const RuntimeCapabilityTable &capabilityTable);
@@ -148,7 +148,6 @@ struct HardwareInfo {
148148
alignas(4) GT_SYSTEM_INFO gtSystemInfo{};
149149
alignas(8) RuntimeCapabilityTable capabilityTable{};
150150
alignas(8) HardwareIpVersion ipVersion{};
151-
uint8_t reserved[4]{}; // to keep optimal alignment
152151
};
153152

154153
// Global table of hardware prefixes

0 commit comments

Comments
 (0)