We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e16c9 commit 327e0abCopy full SHA for 327e0ab
drivers/virtio/virtio_pci_modern_dev.c
@@ -203,6 +203,10 @@ static inline void check_offsets(void)
203
offsetof(struct virtio_pci_common_cfg, queue_used_lo));
204
BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_USEDHI !=
205
offsetof(struct virtio_pci_common_cfg, queue_used_hi));
206
+ BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_NDATA !=
207
+ offsetof(struct virtio_pci_modern_common_cfg, queue_notify_data));
208
+ BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_RESET !=
209
+ offsetof(struct virtio_pci_modern_common_cfg, queue_reset));
210
}
211
212
/*
0 commit comments