Skip to content

Commit d811ac1

Browse files
author
Paolo Abeni
committed
virtchnl: fix m68k build.
The kernel test robot reported a build failure on m68k in the intel driver due to the recent shapers-related changes. The mentioned arch has funny alignment properties, let's be explicit about the binary layout expectation introducing a padding field. Fixes: 608a5c0 ("virtchnl: support queue rate limit and quanta size configuration") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reviewed-by: Alexander Lobakin <[email protected]> Reviewed-by: Paul Menzel <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/e45d1c9f17356d431b03b419f60b8b763d2ff768.1729000481.git.pabeni@redhat.com Signed-off-by: Paolo Abeni <[email protected]>
1 parent 06acd45 commit d811ac1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/avf/virtchnl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,6 +1499,7 @@ VIRTCHNL_CHECK_STRUCT_LEN(8, virtchnl_queue_chunk);
14991499

15001500
struct virtchnl_quanta_cfg {
15011501
u16 quanta_size;
1502+
u16 pad;
15021503
struct virtchnl_queue_chunk queue_select;
15031504
};
15041505

0 commit comments

Comments
 (0)