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)
Fri, Nov 21, 6:27 AM
Unknown Object (File)
Fri, Nov 21, 6:15 AM
Unknown Object (File)
Fri, Nov 21, 6:13 AM
Unknown Object (File)
Fri, Nov 21, 6:07 AM
Unknown Object (File)
Tue, Nov 11, 2:08 AM
Unknown Object (File)
Wed, Oct 29, 9:01 AM
Unknown Object (File)
Wed, Oct 29, 9:01 AM
Unknown Object (File)
Wed, Oct 29, 9:01 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.