[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87shpwlmia.fsf@eliezer.anholt.net>
Date: Fri, 09 Dec 2016 15:18:37 -0800
From: Eric Anholt <eric@...olt.net>
To: Pan Bian <bianpan2016@....com>, David Airlie <airlied@...ux.ie>,
dri-devel@...ts.freedesktop.org
Cc: linux-kernel@...r.kernel.org, Pan Bian <bianpan2016@....com>
Subject: Re: [PATCH 1/1] dri: vc4: set error code on failure
Pan Bian <bianpan2016@....com> writes:
> Function vc4_cl_lookup_bos() does not set the error code when
> drm_malloc_ab() returns a NULL pointer, and will return 0 (indicates
> success). This patch fixes the bug, assigning "-ENOMEM" to the return
> variable ret on the path that memory allocation fails.
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188631
> Signed-off-by: Pan Bian <bianpan2016@....com>
This one was already fixed in b2cdeb19f16ad984eb5bb9193f793d05a8101511
Download attachment "signature.asc" of type "application/pgp-signature" (833 bytes)
Powered by blists - more mailing lists