aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-13 06:29:00 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-15 16:58:46 +0100
commit44c11b2e69d845e487d0184079899ef15ab626a5 (patch)
tree1936ac2be301f1399ea3e0df679a64eb8d95833b /scripts/qapi/parser.py
parente2f8d28005acdfa4e7edd6c842c6e9527a901ba5 (diff)
downloadqemu-44c11b2e69d845e487d0184079899ef15ab626a5.zip
qemu-44c11b2e69d845e487d0184079899ef15ab626a5.tar.gz
qemu-44c11b2e69d845e487d0184079899ef15ab626a5.tar.bz2
hw/ide/ahci: Convert AHCIState::ports to unsigned
AHCIState::ports should be unsigned. Besides, we never check it for negative value. It is unlikely it was ever used with more than INT32_MAX ports, so it is safe to convert it to unsigned. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240213081201.78951-7-philmd@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions