Page MenuHomeFreeBSD

Quiesce build errors with cast to u_int8_t
ClosedPublic

Authored by sbruno on May 18 2018, 1:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 5 2024, 11:02 PM
Unknown Object (File)
Nov 27 2024, 12:42 PM
Unknown Object (File)
Nov 27 2024, 12:42 PM
Unknown Object (File)
Nov 20 2024, 12:09 PM
Unknown Object (File)
Nov 20 2024, 12:03 PM
Unknown Object (File)
Nov 18 2024, 7:27 AM
Unknown Object (File)
Nov 18 2024, 4:04 AM
Unknown Object (File)
Nov 16 2024, 8:00 AM
Subscribers

Details

Summary

Linux has been casting this macro for a while now. Do the same thing to quiesce a bazillon build warnings.

Ref:

https://github.com/torvalds/linux/commit/627871b71c89a6ec12fbed75063f238e0c7127b2#diff-8c6ddb4c3ad69a6fb9f289475821db56

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 16665
Build 16570: arc lint + arc unit

Event Timeline

sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h
142

uint8_t please

sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h
142

I used the "style" of the file that this is declared in. I don't have an opinion here, but I wanted to keep the file consistent.

imp added inline comments.
sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h
142

Fair enough. It's a bit of a reflex these days :(

This revision is now accepted and ready to land.May 18 2018, 5:15 PM
This revision was automatically updated to reflect the committed changes.