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)
Mon, Apr 20, 12:09 AM
Unknown Object (File)
Sat, Apr 11, 2:20 PM
Unknown Object (File)
Fri, Apr 10, 2:04 AM
Unknown Object (File)
Sun, Apr 5, 6:08 AM
Unknown Object (File)
Wed, Mar 25, 10:10 PM
Unknown Object (File)
Mar 22 2026, 5:46 AM
Unknown Object (File)
Mar 20 2026, 4:49 AM
Unknown Object (File)
Mar 20 2026, 1:07 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h
142 ↗(On Diff #42695)

uint8_t please

sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h
142 ↗(On Diff #42695)

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 ↗(On Diff #42695)

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.