]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: make msg padding explicit
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 27 Apr 2018 16:02:05 +0000 (19:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 18:05:13 +0000 (14:05 -0400)
commitcebfe30850f30121e0f6a36ed7b1a4b4a3d15d4f
treea4f4bffba27fc93bb3bbadc8dc2ebef69e0d03b4
parentb9c8bda4bc1e2b0397c9d39443855c41748d1c8f
vhost: make msg padding explicit

There's a 32 bit hole just after type. It's best to
give it a name, this way compiler is forced to initialize
it with rest of the structure.

Reported-by: Kevin Easton <kevin@guarana.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/vhost.h