mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eric Anholt <eric@anholt.net>
To: Pan Bian <bianpan2016@163.com>, David Airlie <airlied@linux.ie>,
	dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org, Pan Bian <bianpan2016@163.com>
Subject: Re: [PATCH 1/1] dri: vc4: set error code on failure
Date: Fri, 09 Dec 2016 15:18:37 -0800	[thread overview]
Message-ID: <87shpwlmia.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <1480756647-3673-1-git-send-email-bianpan2016@163.com>

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

Pan Bian <bianpan2016@163.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@163.com>

This one was already fixed in b2cdeb19f16ad984eb5bb9193f793d05a8101511

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      reply	other threads:[~2016-12-09 23:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-03  9:17 Pan Bian
2016-12-09 23:18 ` Eric Anholt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shpwlmia.fsf@eliezer.anholt.net \
    --to=eric@anholt.net \
    --cc=airlied@linux.ie \
    --cc=bianpan2016@163.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®