🔧 build(fix aarch64 warning): ignore compile warning

This commit is contained in:
yangwei
2024-11-27 19:50:50 +08:00
parent 405a62826e
commit 35f3ec6e73
11 changed files with 22 additions and 22 deletions

View File

@@ -405,6 +405,8 @@ static inline uint16_t gre0_hdr_get_offset(const struct gre0_hdr *hdr)
}
}
#pragma GCC diagnostic warning "-Warray-bounds"
static inline uint32_t gre0_hdr_get_key(const struct gre0_hdr *hdr)
{
if (gre0_hdr_get_key_flag(hdr))