]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r335027, r335050
authoraraujo <araujo@FreeBSD.org>
Wed, 11 Jul 2018 07:22:05 +0000 (07:22 +0000)
committeraraujo <araujo@FreeBSD.org>
Wed, 11 Jul 2018 07:22:05 +0000 (07:22 +0000)
commitfbdb7173202283e0d2f00a8ab0e54f1f73143b96
treef92facb6b0944b6ddbd8219c9dc4d374e62eaad4
parent6914ad5b86418498bde135facb66c41ea8664707
MFC r335027, r335050

r335027:
When this code was introduced at r300829 the author forgot to add
the BSD license header that is the same as in its C header file.

Sponsored by: iXsystems Inc.

r335050:
While I was investigating CID 1194192 related with a resource leak on mrp memory
allocation, I could identify that actually we use this pointer on pci_emul.c as
well as on vga.c source file.

I have reworked the logic here to make it more readable and also add a warn to
explicit show the function where the memory allocation error could happen,
also sort headers.

Also CID 1194192 was marked as "Intentional".

Obtained from: TrueOS
Sponsored by: iXsystems Inc.
usr.sbin/bhyve/bhyvegc.c
usr.sbin/bhyve/mem.c