mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rolf Eike Beer <eike@euklid.math.uni-mannheim.de>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.4.14 warnings and errors - M
Date: Tue, 06 Nov 2001 09:32:21 +0100	[thread overview]
Message-ID: <1639142.cGWNJJiE95@newssend.sf-tec.de> (raw)
In-Reply-To: <18970.1005034082@ocs3.intra.ocs.com.au>

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

>From Keith Owens :

> drivers/video/fbcon.c: In function `fbcon_show_logo':
> drivers/video/fbcon.c:2129: warning: unused variable `y1'
> drivers/video/fbcon.c:2129: warning: unused variable `x1'
> drivers/video/fbcon.c:2128: warning: unused variable `src'
> drivers/video/fbcon.c:2128: warning: unused variable `dst'
> drivers/video/fbcon.c:2125: warning: unused variable `line'

I send a patch some weeks ago, here it is again.

Eike

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch_fbcon.c_reduce_noise --]
[-- Type: text/x-diff; name="patch_fbcon.c_reduce_noise", Size: 777 bytes --]

--- /usr/src/linux/drivers/video/fbcon.c.orig	Wed Oct 10 13:41:57 2001
+++ /usr/src/linux/drivers/video/fbcon.c	Wed Oct 10 14:05:20 2001
@@ -2125,12 +2125,16 @@
 {
     struct display *p = &fb_display[fg_console]; /* draw to vt in foreground */
     int depth = p->var.bits_per_pixel;
-    int line = p->next_line;
     unsigned char *fb = p->screen_base;
     unsigned char *logo;
-    unsigned char *dst, *src;
-    int i, j, n, x1, y1, x;
+    int i, j, n, x;
     int logo_depth, done = 0;
+#if defined(CONFIG_FBCON_CFB16) || defined(CONFIG_FBCON_CFB24) || \
+    defined(CONFIG_FBCON_CFB32) || defined(CONFIG_FB_SBUS)
+    int line = p->next_line;
+    unsigned char *dst, *src;
+    int x1, y1;
+#endif
 
     /* Return if the frame buffer is not mapped */
     if (!fb)

      parent reply	other threads:[~2001-11-06  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06  8:08 Keith Owens
2001-11-06  8:13 ` Manik Raina
2001-11-06  8:32 ` Rolf Eike Beer [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=1639142.cGWNJJiE95@newssend.sf-tec.de \
    --to=eike@euklid.math.uni-mannheim.de \
    --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®