- delay()'s prototype is wrong, doesn't match bootstrap.h
- umass_loader.c needs sys/disk.h for disk ioctl definitions
- disk_devdesc embeds devdesc as of de04d704a98a7 ("Use the actual struct devdesc at the start [...]")
- nsegs is a write-only variable, we ended up just using length directly
Details
Details
- Reviewers
imp • hselasky manu
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 48173 Build 45060: arc lint + arc unit
Event Timeline
Comment Actions
seems good. looks like I need to add this to universe.sh
stand/usb/storage/umass_loader.c | ||
---|---|---|
33 | why is this needed? |
stand/usb/storage/umass_loader.c | ||
---|---|---|
33 | If the code compiles w/o feel free to remove it. |
stand/usb/storage/umass_loader.c | ||
---|---|---|
33 | Noted in the commit message; sys/disk.h is needed for disk ioctls (DIOCGMEDIASIZE/DIOCGSECTORSIZE) |