Re: [PATCH] gpu: i915: fix a missing check of get_free_page
From: Chris Wilson
Date: Sat Mar 09 2019 - 04:36:26 EST
Quoting Kangjie Lu (2019-03-09 04:24:50)
> If the allocation fails, return false to avoid potential
> NULL pointer dereference
No. If we fail to allocate c->tmp, we do uncached reads instead.
-Chris