From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: airlied@linux.ie, yongjun_wei@trendmicro.com.cn,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] gma500: medfield: fix potential NULL pointer dereference in mdfld_dsi_output_init()
Date: Mon, 8 Oct 2012 13:27:10 +0100 [thread overview]
Message-ID: <20121008132710.3cfe1947@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <CAPgLHd901d8BTm--jrfyLkRSd0BTCvAuEy-DUs+SSzt+WBWzJw@mail.gmail.com>
On Sun, 7 Oct 2012 21:56:45 +0800
Wei Yongjun <weiyj.lk@gmail.com> wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> The dereference should be moved below the NULL test.
The !dev check just wants removing I think - it's a bogus check in the
first place.
prev parent reply other threads:[~2012-10-08 12:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-07 13:56 Wei Yongjun
2012-10-08 12:27 ` Alan Cox [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=20121008132710.3cfe1947@pyramind.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=weiyj.lk@gmail.com \
--cc=yongjun_wei@trendmicro.com.cn \
/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®