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)
Sun, Sep 6, 1:40 PM
Unknown Object (File)
Sun, Sep 6, 11:06 AM
Unknown Object (File)
Sat, Sep 5, 3:22 AM
Unknown Object (File)
Fri, Sep 4, 2:05 AM
Unknown Object (File)
Thu, Sep 3, 11:22 PM
Unknown Object (File)
Wed, Sep 2, 9:00 AM
Unknown Object (File)
Wed, Sep 2, 3:25 AM
Unknown Object (File)
Wed, Sep 2, 1:35 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.