aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-10-19 09:34:44 +0100
committerChris Wilson <[email protected]>2020-10-19 12:36:38 +0100
commitfa812ce96a46efc27cae4dcad866aaee9cb25d28 (patch)
treefb25595abd1739bab168198ce955e308dcf8d36e /lib/test_fortify/write_overflow-strcpy.c
parent178536b8292ecd118f59d2fac4509c7e70b99854 (diff)
drm/i915/gt: Onion unwind for scratch page allocation failure
In switching to using objects for our ppGTT scratch pages, care was not taken to avoid trying to unref NULL objects on failure. And for gen6 ppGTT, it appears we forgot entirely to unwind after a partial allocation failure. Fixes: 89351925a477 ("drm/i915/gt: Switch to object allocations for page directories") Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Cc: Joonas Lahtinen <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions