Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pppd: Rework use of volatile in lcp-rtt code to eliminate warnings #469

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

paulusmack
Copy link
Collaborator

To eliminate the warnings, the lcp_rtt_buffer variable no longer points to volatile, and instead accesses are made using 'ring_header' local variables, which do point to volatile, and contain the same address.

To eliminate the warnings, the lcp_rtt_buffer variable no longer
points to volatile, and instead accesses are made using 'ring_header'
local variables, which do point to volatile, and contain the same
address.

Signed-off-by: Paul Mackerras <[email protected]>
@paulusmack paulusmack merged commit fafbfdf into master Jan 1, 2024
49 checks passed
@paulusmack paulusmack deleted the fixvolatile branch January 2, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant