summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris/common/ctf/ctf_create.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-07-14 00:26:57 +0000
committermav <mav@FreeBSD.org>2016-07-14 00:26:57 +0000
commit371b215a70a9ffe8f31ec8223583b6273d481162 (patch)
tree42168debe4d35b33fe6d80d921fa6e3fef52e937 /cddl/contrib/opensolaris/common/ctf/ctf_create.c
parent211027395d4e8effd1cdd1973abcd40d49232417 (diff)
downloadFreeBSD-src-371b215a70a9ffe8f31ec8223583b6273d481162.zip
FreeBSD-src-371b215a70a9ffe8f31ec8223583b6273d481162.tar.gz
MFC r302402: Fix ahci(4) driver attach to controller with 32 ports.
Incorrect sign expansion in variables that supposed to be a bit fields caused infinite loop. Fixing this allows system properly detect maximal possible 32 devices configured on AHCI HBA of BHyVe. That case did not happen in a wild before due to lack of hardware AHCI HBAs with 32 ports.
Diffstat (limited to 'cddl/contrib/opensolaris/common/ctf/ctf_create.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud