[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <155212417408.28502.15628871831122730555@skylake-alporthouse-com>
Date: Sat, 09 Mar 2019 09:36:14 +0000
From: Chris Wilson <chris@...is-wilson.co.uk>
To: kjlu@....edu
Cc: pakki001@....edu, Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpu: i915: fix a missing check of get_free_page
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
Powered by blists - more mailing lists