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)
Tue, Sep 30, 8:26 PM
Unknown Object (File)
Sun, Sep 28, 8:38 PM
Unknown Object (File)
Sun, Sep 28, 3:36 PM
Unknown Object (File)
Sun, Sep 28, 3:05 PM
Unknown Object (File)
Sun, Sep 28, 12:45 PM
Unknown Object (File)
Aug 22 2025, 5:33 AM
Unknown Object (File)
Jun 23 2025, 6:07 AM
Unknown Object (File)
Jun 23 2025, 12:43 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.