virtio_gpio: drop packed attribute
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 09:11:25 +0000 (05:11 -0400)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 4 Nov 2021 15:36:54 +0000 (16:36 +0100)
commit7d0003da6297eb128f3490e396e6fc6df71557cd
tree7459a934b6cd006b9e55cd1854d5df755030df49
parenteff5cdd745a68863a73095b0b4d62d15e0d9d902
virtio_gpio: drop packed attribute

Declaring the struct packed here is mostly harmless,
but gives a bad example for people to copy.
As the struct is packed and aligned manually,
let's just drop the attribute.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
include/uapi/linux/virtio_gpio.h