Skip to content

[WIP] Optional drivedb and other small changes #4

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

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Conversation

vthriller
Copy link
Owner

(see also TODOes mentioned in commit msgs)

@vthriller vthriller force-pushed the optional-drivedb branch 3 times, most recently from edcdd32 to 0e51bb0 Compare February 1, 2020 15:13
…also, make ata_pass_through_16() respect said `dir` argument
…y thing here; use 'info' for other warning formatting options instead
…le also fixing future compilation error

warning[E0503]: cannot use `*dir` because it was mutably borrowed
  --> src/scsi/linux.rs:69:5
   |
57 |         let mut data = if let Direction::From(buf) = dir {
   |                                               --- borrow of `dir.0` occurs here
...
69 |                 Direction::None => -1,
   |                 ^^^^^^^^^^^^^^^ use of borrowed `dir.0`
...
73 |             dxferp:    match data {
   |                              ---- borrow later used here
   |
   = warning: this error has been downgraded to a warning for backwards compatibility with previous releases
   = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
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