diff options
author | Saurabh Sengar <[email protected]> | 2024-05-05 22:38:58 -0700 |
---|---|---|
committer | Wei Liu <[email protected]> | 2024-05-28 05:27:35 +0000 |
commit | 207e03b00b47ccbd692941b183510026e1bd6ce9 (patch) | |
tree | 9e317d73853cd27242f8af2ce9566941923e9c3b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 8852ebf1948d94ecaf4d1113032dda7e58e72b84 (diff) |
tools: hv: suppress the invalid warning for packed member alignment
Packed struct vmbus_bufring is 4096 byte aligned and the reporting
warning is for the first member of that struct which shouldn't add
any offset to create alignment issue.
Suppress the warning by adding -Wno-address-of-packed-member flag to
gcc.
Fixes: 45bab4d74651 ("tools: hv: Add vmbus_bufring")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Saurabh Sengar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions