Page MenuHomeFreeBSD

hyperv/vmbus: Check hyperv_dmamem_alloc return value
ClosedPublic

Authored by sepherosa_gmail.com on May 24 2016, 1:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 12:46 AM
Unknown Object (File)
Wed, Jul 8, 8:41 AM
Unknown Object (File)
Mon, Jul 6, 11:46 AM
Unknown Object (File)
Apr 30 2026, 8:29 AM
Unknown Object (File)
Apr 28 2026, 8:10 AM
Unknown Object (File)
Apr 26 2026, 7:34 AM
Unknown Object (File)
Apr 21 2026, 11:41 AM
Unknown Object (File)
Apr 21 2026, 8:22 AM
Subscribers
None

Details

Summary

Though it is highly unlikely this function would fail w/ BUS_DMA_WAITOK, we had better to check its return value; better safe then sorry here.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/vmbus: Check hyperv_dmamem_alloc return value.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.