OSDN Git Service

ahci: fix ICC mask definition
authorJohn Snow <jsnow@redhat.com>
Tue, 21 Jul 2015 18:02:01 +0000 (14:02 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 31 Jul 2015 20:39:20 +0000 (16:39 -0400)
commit91ced514461e1a533bfb9e2eea32bd7df678b1cd
treebd9cb0c147fcef6097a9a6b9cb2140538da41c5f
parent0e826a061a3e8e8485488a7da02cc139fc07d620
ahci: fix ICC mask definition

There are likely others that could be updated, but we'll
go with a light touch for 2.4 for now.

Without the Unsigned specifier, this shifts bits into the
signed bit, which makes clang unhappy and could cause
unwanted behavior.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1437501721-24495-1-git-send-email-jsnow@redhat.com
hw/ide/ahci.h