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)
Wed, Jan 8, 7:20 AM
Unknown Object (File)
Nov 21 2024, 7:14 AM
Unknown Object (File)
Nov 21 2024, 7:14 AM
Unknown Object (File)
Nov 21 2024, 7:14 AM
Unknown Object (File)
Nov 21 2024, 7:02 AM
Unknown Object (File)
Oct 12 2024, 10:45 AM
Unknown Object (File)
Oct 4 2024, 8:30 PM
Unknown Object (File)
Sep 21 2024, 5:19 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.