linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: insecure <insecure@mail.od.ua>
To: linux-kernel@vger.kernel.org, riley@williams.name,
	kraxel@bytesex.org, Pavel Machek <pavel@ucw.cz>
Subject: [PATCH] Eliminate compile warnings in atyfb_base.c
Date: Mon, 25 Aug 2003 21:06:14 +0300	[thread overview]
Message-ID: <200308252106.14798.insecure@mail.od.ua> (raw)

Warnings were:
  CC      drivers/video/aty/atyfb_base.o
drivers/video/aty/atyfb_base.c:393: warning: `ram_dram' defined but not used
drivers/video/aty/atyfb_base.c:404: warning: `ram_resv' defined but not used
--
vda

--- linux-2.6.0-test4/drivers/video/aty/atyfb_base.c.orig	Sat Aug 23 02:57:56 2003
+++ linux-2.6.0-test4/drivers/video/aty/atyfb_base.c	Mon Aug 25 21:00:36 2003
@@ -390,7 +390,10 @@
 #endif				/* CONFIG_FB_ATY_CT */
 };

+#if defined(CONFIG_FB_ATY_GX) || defined(CONFIG_FB_ATY_CT)
 static char ram_dram[] __initdata = "DRAM";
+static char ram_resv[] __initdata = "RESV";
+#endif
 #ifdef CONFIG_FB_ATY_GX
 static char ram_vram[] __initdata = "VRAM";
 #endif /* CONFIG_FB_ATY_GX */
@@ -401,7 +404,6 @@
 static char ram_wram[] __initdata = "WRAM";
 static char ram_off[] __initdata = "OFF";
 #endif /* CONFIG_FB_ATY_CT */
-static char ram_resv[] __initdata = "RESV";

 static u32 pseudo_palette[17];
 


                 reply	other threads:[~2003-08-25 18:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200308252106.14798.insecure@mail.od.ua \
    --to=insecure@mail.od.ua \
    --cc=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=riley@williams.name \
    /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;
as well as URLs for NNTP newsgroup(s).