ahci: Do not unmap NULL addresses
commit99b4cb71069f109b79b27bc629fc0cf0886dbc4b
authorJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:40 +0000 (10 13:29 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:40 +0000 (10 13:29 -0500)
treedda90b81fa858dda59933b3b4929265bb08c9b91
parentc691320faa6a1749042134716a628e22abb81ed2
ahci: Do not unmap NULL addresses

Definitely don't try to unmap a garbage address.

Reported-by: Zuozhi fzz <zuozhi.fzz@alibaba-inc.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1454103689-13042-2-git-send-email-jsnow@redhat.com
hw/ide/ahci.c