]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd5dc697e169aaf09f452da8b1f2586362a6cc20
tree7459a934b6cd006b9e55cd1854d5df755030df49
parent7d7ef4f6e363cd0899e66eef3a7eb4140a0036d1
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