Page MenuHomeFreeBSD

bcm_dma: don't dereference NULL softc
ClosedPublic

Authored by mhorne on Feb 24 2023, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 11 2025, 9:12 PM
Unknown Object (File)
Nov 27 2025, 11:39 PM
Unknown Object (File)
Nov 26 2025, 11:00 PM
Unknown Object (File)
Nov 25 2025, 10:45 PM
Unknown Object (File)
Nov 23 2025, 1:27 AM
Unknown Object (File)
Oct 29 2025, 3:37 PM
Unknown Object (File)
Oct 29 2025, 3:02 PM
Unknown Object (File)
Oct 29 2025, 2:51 PM
Subscribers

Details

Summary

This file defines a small API to be used by other drivers. If any of
these functions are called before the bcm_dma device has attached we
should handle the error gracefully. Fix a formatting quirk while here.

The issue related to device attach order is fixed in PR 268835.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable