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)
Feb 17 2024, 11:12 AM
Unknown Object (File)
Dec 20 2023, 4:27 AM
Unknown Object (File)
Dec 20 2023, 4:27 AM
Unknown Object (File)
Dec 1 2023, 10:11 AM
Unknown Object (File)
Dec 27 2022, 1:37 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.