Skip to content

Conversation

HadrienG2
Copy link
Contributor

The associated test used to print an error on every run because the Status::NotReady output was incorrectly interpreted as an error. In the context of this function, it means that the pointer state has not changed since the last query, which is normal.

Since this output is not really an error, I think it is better modeled by returning an optional pointer status, so I changed that in simple pointer protocol interface.

@HadrienG2 HadrienG2 merged commit 6e7ad0b into rust-osdev:master Sep 25, 2018
@HadrienG2 HadrienG2 deleted the fix-pointer-test branch September 25, 2018 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant