From: David Woodhouse
Date: Wed, 23 Sep 2015 15:44:30 +0100
> +#define VIO_LE virtio_legacy_is_little_endian()
When you define a shorthand macro, the defines to a function call,
make the macro have parenthesis too.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body
Commit 7d82410950aa ("virtio: add explicit big-endian support to memory
accessors") accidentally changed the virtio_net header used by
AF_PACKET with PACKET_VNET_HDR from host-endian to big-endian.
Since virtio_legacy_is_little_endian() is a very long identifier,
define a VIO_LE macro and use that