]> 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)
commit273f425e7ecd67801d58318fc2ac60517c986be5
tree7459a934b6cd006b9e55cd1854d5df755030df49
parent3508ada2a406c18b9b9f3aaaf9d2264eb748bada
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