diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-02-23 19:20:04 +0900 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2023-03-10 15:35:38 +0800 |
| commit | d921db0ae937cfa5935ae505f3c77a46dd505265 (patch) | |
| tree | 6cef28ee277052d12f9ae4b4b6b28c09aff830e3 /hw/net/e1000x_common.h | |
| parent | f9a9eb16e2f19754ae32994c8c62a5b1d5dc2169 (diff) | |
| download | focaccia-qemu-d921db0ae937cfa5935ae505f3c77a46dd505265.tar.gz focaccia-qemu-d921db0ae937cfa5935ae505f3c77a46dd505265.zip | |
e1000x: Alter the signature of e1000x_is_vlan_packet
e1000x_is_vlan_packet() had a pointer to uint8_t as a parameter, but it does not have to be uint8_t. Change the type to void *. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000x_common.h')
| -rw-r--r-- | hw/net/e1000x_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000x_common.h b/hw/net/e1000x_common.h index b991d814b1..86a31b69f8 100644 --- a/hw/net/e1000x_common.h +++ b/hw/net/e1000x_common.h @@ -178,7 +178,7 @@ uint32_t e1000x_rxbufsize(uint32_t rctl); bool e1000x_rx_ready(PCIDevice *d, uint32_t *mac); -bool e1000x_is_vlan_packet(const uint8_t *buf, uint16_t vet); +bool e1000x_is_vlan_packet(const void *buf, uint16_t vet); bool e1000x_rx_group_filter(uint32_t *mac, const uint8_t *buf); |