From: Adrian Bunk <bunk@fs.tum.de>
To: maximilian attems <maks@sternwelten.at>
Cc: linux-kernel@vger.kernel.org,
Thomas Winischhofer <thomas@winischhofer.net>
Subject: Re: [2.5 patch] move an unused variable in sis_main.c
Date: Thu, 3 Jul 2003 13:47:26 +0200 [thread overview]
Message-ID: <20030703114726.GK282@fs.tum.de> (raw)
In-Reply-To: <20030703104700.GA939@mail.sternwelten.at>
On Thu, Jul 03, 2003 at 12:47:00PM +0200, maximilian attems wrote:
> The patch below moves an used variable from drivers/video/sis/sis_main.c
>
> i've tested the compilation with 2.5.74
>
> please apply
> maks
>
>
> --- linux-2.5.74/drivers/video/sis/sis_main.c Wed Jul 2 22:50:59 2003
> +++ linux/drivers/video/sis/sis_main.c Thu Jul 3 12:06:58 2003
> @@ -619,11 +619,11 @@
> double drate = 0, hrate = 0;
> int found_mode = 0;
> int old_mode;
> - unsigned char reg;
>
> TWDEBUG("Inside do_set_var");
>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
> + unsigned char reg;
> inSISIDXREG(SISCR,0x34,reg);
> if(reg & 0x80) {
> printk(KERN_INFO "sisfb: Cannot change display mode, X server is active\n");
If TWDEBUG does anything your patch breaks the compilation on kernel 2.4
with gcc 2.95 .
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2003-07-03 11:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-03 10:47 [2.5 patch] move an unused variable in sis_main.c maximilian attems
2003-07-03 11:47 ` Adrian Bunk [this message]
2003-07-03 12:04 ` maximilian attems
2003-07-03 13:05 ` Thomas Winischhofer
2003-07-03 13:38 ` maximilian attems
2003-07-03 14:54 ` Thomas Winischhofer
2003-07-03 15:44 ` maximilian attems
2003-07-03 15:58 ` Thomas Winischhofer
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=20030703114726.GK282@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=maks@sternwelten.at \
--cc=thomas@winischhofer.net \
/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