From: Nicolas Kaiser <nikai@nikai.net>
To: Antonino Daplas <adaplas@gmail.com>
Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] rivafb: dubious assignment
Date: Fri, 22 Oct 2010 11:31:30 +0000 [thread overview]
Message-ID: <20101022133130.4cb2cb96@absol.kitzblitz> (raw)
A duplicated assignment unconditionally changes max_gfsize to
GFIFO_SIZE.
It looks to me like this might not be intended, or is it?
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
---
drivers/video/riva/riva_hw.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/video/riva/riva_hw.c b/drivers/video/riva/riva_hw.c
index 78fdbf5..936abfa 100644
--- a/drivers/video/riva/riva_hw.c
+++ b/drivers/video/riva/riva_hw.c
@@ -263,7 +263,6 @@ static int nv3_iterate(nv3_fifo_info *res_info, nv3_sim_state * state, nv3_arb_i
vmisses = 2;
if (ainfo->gburst_size = 128) max_gfsize = GFIFO_SIZE_128;
else max_gfsize = GFIFO_SIZE;
- max_gfsize = GFIFO_SIZE;
while (1)
{
if (ainfo->vid_en)
--
1.7.2.2
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Kaiser <nikai@nikai.net>
To: Antonino Daplas <adaplas@gmail.com>
Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] rivafb: dubious assignment
Date: Fri, 22 Oct 2010 13:31:30 +0200 [thread overview]
Message-ID: <20101022133130.4cb2cb96@absol.kitzblitz> (raw)
A duplicated assignment unconditionally changes max_gfsize to
GFIFO_SIZE.
It looks to me like this might not be intended, or is it?
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
---
drivers/video/riva/riva_hw.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/video/riva/riva_hw.c b/drivers/video/riva/riva_hw.c
index 78fdbf5..936abfa 100644
--- a/drivers/video/riva/riva_hw.c
+++ b/drivers/video/riva/riva_hw.c
@@ -263,7 +263,6 @@ static int nv3_iterate(nv3_fifo_info *res_info, nv3_sim_state * state, nv3_arb_i
vmisses = 2;
if (ainfo->gburst_size == 128) max_gfsize = GFIFO_SIZE_128;
else max_gfsize = GFIFO_SIZE;
- max_gfsize = GFIFO_SIZE;
while (1)
{
if (ainfo->vid_en)
--
1.7.2.2
next reply other threads:[~2010-10-22 11:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 11:31 Nicolas Kaiser [this message]
2010-10-22 11:31 ` [PATCH] rivafb: dubious assignment Nicolas Kaiser
2010-10-22 14:47 ` Geert Uytterhoeven
2010-10-22 14:47 ` Geert Uytterhoeven
2010-10-22 17:18 ` Jeff Garzik
2010-10-22 17:18 ` Jeff Garzik
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=20101022133130.4cb2cb96@absol.kitzblitz \
--to=nikai@nikai.net \
--cc=adaplas@gmail.com \
--cc=linux-fbdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.