Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Andi Kleen <andi@firstfloor.org>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: intel_pre_enable_dp
Date: Sun, 29 Sep 2013 17:16:58 -0700	[thread overview]
Message-ID: <20130929171658.6eab2b61@jbarnes-desktop> (raw)
In-Reply-To: <20130929235347.GA2214@two.firstfloor.org>

On Mon, 30 Sep 2013 01:53:47 +0200
Andi Kleen <andi@firstfloor.org> wrote:

> On Mon, Sep 30, 2013 at 01:48:13AM +0200, Andi Kleen wrote:
> > 
> > Jesse,
> > 
> > I was playing with a static analyzer and it flagged the following
> > code of yours.
> > 
> > Is the val = 0 directly after the register read correct and intended?
> 
> Also the same pattern is in other places, like vlv_pre_enable_dp.

Hm definitely looks suspect... I'll check it out.  On the plus side
that code is actually working in practice, so maybe the zeroing isn't
too harmful. :)

-- 
Jesse Barnes, Intel Open Source Technology Center

      reply	other threads:[~2013-09-30  0:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-29 23:48 intel_pre_enable_dp Andi Kleen
2013-09-29 23:53 ` intel_pre_enable_dp Andi Kleen
2013-09-30  0:16   ` Jesse Barnes [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=20130929171658.6eab2b61@jbarnes-desktop \
    --to=jbarnes@virtuousgeek.org \
    --cc=andi@firstfloor.org \
    --cc=intel-gfx@lists.freedesktop.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