syscon currently includes sys/malloc.h via header pollution from
dev/ofw/ofw_bus.h -> dev/ofw/openfirm.h. Fix the build without FDT
defined by including sys/malloc.h directly.
Details
Details
- Reviewers
manu andrew imp - Group Reviewers
arm64 - Commits
- rG79794d5c18b7: extres: syscon: pull in sys/malloc.h (fix !FDT)
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I like this. For more obscure .h files an ifdef might make sense, but for sys/malloc.h, I think unconditional is fine.