Page MenuHomeFreeBSD

bhyve/vga.c: fix atc_color_select_67 bit shift
ClosedPublic

Authored by rlibby on Jul 28 2017, 6:03 PM.

Details

Summary

Gcc noticed that the result of the bit shift is always zero. Shift so
that the ATC_CS_C67 bits end up in bits 6 & 7.

Test Plan

gcc

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rlibby created this revision.Jul 28 2017, 6:03 PM
tychon accepted this revision.Jul 28 2017, 6:22 PM
This revision is now accepted and ready to land.Jul 28 2017, 6:22 PM
grehan accepted this revision.Jul 28 2017, 6:25 PM
This revision was automatically updated to reflect the committed changes.