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)
Nov 16 2023, 11:41 AM
Unknown Object (File)
Oct 15 2023, 10:37 AM
Unknown Object (File)
Sep 19 2023, 11:05 AM
Unknown Object (File)
Mar 15 2017, 11:56 PM
Unknown Object (File)
Feb 6 2017, 2:15 AM
Unknown Object (File)
Jan 17 2017, 10:07 PM
Unknown Object (File)
Nov 18 2016, 3:39 AM
Unknown Object (File)
Jul 25 2016, 5:53 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.