Page MenuHomeFreeBSD

sdhci_fdt_rockchip: Don't return 0 from probe routine
ClosedPublic

Authored by jhb on Feb 7 2026, 3:46 PM.
Tags
None
Referenced Files
F157428418: D55159.diff
Thu, May 21, 8:35 AM
Unknown Object (File)
Thu, May 14, 11:06 AM
Unknown Object (File)
Wed, May 13, 6:33 PM
Unknown Object (File)
Wed, May 13, 6:33 PM
Unknown Object (File)
Wed, May 13, 4:12 PM
Unknown Object (File)
Mon, May 11, 2:29 AM
Unknown Object (File)
Sat, May 9, 4:14 PM
Unknown Object (File)
Sat, May 9, 4:09 PM
Subscribers

Details

Summary

The only write to the softc is a no-op (softcs are initialized to all
zeroes), so remove that and just use BUS_PROBE_DEFAULT.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70495
Build 67378: arc lint + arc unit

Event Timeline

This is not required to build arm64 with GCC (the rest of this stack are fixes needed for that), but is just a cleanup I noticed while fixing the previous patch.

This revision is now accepted and ready to land.Feb 8 2026, 4:39 PM