The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Chen Gang <gang.chen@asianux.com>
To: airlied@linux.ie, bskeggs@redhat.com, airlied@redhat.com
Cc: dri-devel@lists.freedesktop.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] drivers/gpu/drm/nouveau: remove erroneous semicolon
Date: Wed, 27 Mar 2013 15:23:35 +0800	[thread overview]
Message-ID: <51529E77.2010906@asianux.com> (raw)


  need remove semicolon, or always return true.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 drivers/gpu/drm/nouveau/nv50_display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 7f0e6c3..1ddc03e 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -479,7 +479,7 @@ nv50_display_flip_wait(void *data)
 {
 	struct nv50_display_flip *flip = data;
 	if (nouveau_bo_rd32(flip->disp->sync, flip->chan->addr / 4) ==
-					      flip->chan->data);
+					      flip->chan->data)
 		return true;
 	usleep_range(1, 2);
 	return false;
-- 
1.7.7.6

             reply	other threads:[~2013-03-27  7:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27  7:23 Chen Gang [this message]
2013-04-03  8:01 ` [PATCH] drivers/gpu/drm/nouveau: remove erroneous semicolon Chen Gang
2013-04-07  1:03   ` Chen Gang
2013-04-07  3:49     ` Greg KH
2013-04-07  3:57       ` Chen Gang
2013-04-07  4:09         ` Joe Perches
2013-04-07  4:19           ` Chen Gang
2013-04-07 11:24 ` Paul Menzel
2013-04-07 11:36   ` Chen Gang

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=51529E77.2010906@asianux.com \
    --to=gang.chen@asianux.com \
    --cc=airlied@linux.ie \
    --cc=airlied@redhat.com \
    --cc=bskeggs@redhat.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