OSDN Git Service

memory-device: use QEMU_IS_ALIGNED
authorDavid Hildenbrand <david@redhat.com>
Tue, 23 Oct 2018 15:23:04 +0000 (17:23 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 11 Dec 2018 17:45:22 +0000 (15:45 -0200)
commit3e18dbbb13a476072b98ff3250d4558b446fa7b8
treeb918c765d2900a225aa02bbbf7e2daa6b4a54936
parentd56978f41b357cc84f2d3fe7d5fef2ae9cddfa61
memory-device: use QEMU_IS_ALIGNED

Shorter and easier to read.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181023152306.3123-6-david@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/mem/memory-device.c