Skip to content

Commit

Permalink
Marking lineControlRegister as volatile to avoid C26837
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewYangMSFT authored Jan 17, 2025
1 parent 57ecdd5 commit 8506513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serial/VirtualSerial2/queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ QueueProcessSetLineControl(
NTSTATUS status;
PDEVICE_CONTEXT deviceContext;
SERIAL_LINE_CONTROL lineControl = {0};
ULONG *lineControlRegister;
volatile ULONG* lineControlRegister;
UCHAR lineControlData = 0;
UCHAR lineControlStop = 0;
UCHAR lineControlParity = 0;
Expand Down

0 comments on commit 8506513

Please sign in to comment.