Re: [PATCH] drm/i915/gvt: fix double free bug in split_2MB_gtt_entry

From: Zheng Hacker
Date: Mon Oct 03 2022 - 00:37:37 EST

> That is a horrible way to make an api (and it should be a bool too.)
> Now every time you see this call in the code, you have to go look up
> what the last parameter means. Just make 2 functions, one that does the
> "is error" thing, and one that does not, and that will be much easier to
> maintain and understand for the next 10+ years.

Got it. I'll figure out anothr way. :)

Zheng Wang