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
F170862538: D15476.diff
Mon, Sep 7, 2:54 AM
Unknown Object (File)
Fri, Sep 4, 7:28 PM
Unknown Object (File)
Fri, Sep 4, 4:31 PM
Unknown Object (File)
Thu, Sep 3, 9:18 PM
Unknown Object (File)
Thu, Sep 3, 4:47 PM
Unknown Object (File)
Thu, Sep 3, 11:27 AM
Unknown Object (File)
Thu, Sep 3, 8:20 AM
Unknown Object (File)
Thu, Sep 3, 6:11 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.