Re: [PATCH] virtio_gpio: drop packed attribute

2021-11-01 Thread Viresh Kumar
On 01-11-21, 05:11, Michael S. Tsirkin wrote: > 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 > --- > include/uapi/linux/vir

[PATCH] virtio_gpio: drop packed attribute

2021-11-01 Thread Michael S. Tsirkin
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 --- include/uapi/linux/virtio_gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(