]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commit
adlib: sort offsets in portio registration
authorHervé Poussineau <hpoussin@reactos.org>
Wed, 14 Aug 2013 09:49:04 +0000 (11:49 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Sep 2013 03:11:51 +0000 (22:11 -0500)
commit2ffbe03e8bc8f330581e31537190949a9aba80c3
treec1c078c946dc80c65d08612c55e8c758d550260b
parentf9fd82ee939d6ee5bff126b125020021e18ce330
adlib: sort offsets in portio registration

This fixes the following assert when -device adlib is used:
ioport.c:240: portio_list_add: Assertion `pio->offset >= off_last' failed.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 2b21fb57af305f17841d79e7e2e02ad1aec3f5ca)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/audio/adlib.c