summaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-04-12 15:36:34 +1000
committerMichael S. Tsirkin <mst@redhat.com>2012-04-15 11:51:05 +0300
commit1a87228f5f1d316002c7c161316f5524592be766 (patch)
tree3c852fe87074cdc40a3435e3c18233be3b3f23e3 /drivers/Kconfig
parentc0aa3e0916d7e531e69b02e426f7162dfb1c6c0f (diff)
virtio_balloon: Fix endian bug
Although virtio config space fields are usually in guest-native endian, the spec for the virtio balloon device explicitly states that both fields in its config space are little-endian. However, the current virtio_balloon driver does not have a suitable endian swap for the 'num_pages' field, although it does have one for the 'actual' field. This patch corrects the bug, adding sparse annotation while we're at it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions