public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: johnpol@2ka.mipt.ru
Cc: ajoshi@shell.unixbox.com, linux-kernel@vger.kernel.org
Subject: Re: [patch] A very little patch to make rivafb to be compiled
Date: Sun, 06 Jan 2002 16:59:54 -0500	[thread overview]
Message-ID: <3C38C8DA.1FE44A47@mandrakesoft.com> (raw)
In-Reply-To: <20020106160225.5c080f76.johnpol@2ka.mipt.ru>

Evgeniy Polyakov wrote:
> 
> Hello, Ani Joshi and other hackers.
> 
> Here is patch against 2.5.2-pre9 wich make rivafb to be compiled:
> 
> --- /usr/src/linux-2.5.2-pre/drivers/video/riva/fbdev.c~        Wed Nov 14
> 17:52:20 2001
> +++ /usr/src/linux-2.5.2-pre/drivers/video/riva/fbdev.c Sun Jan  6
> 15:45:04 2002
> @@ -1811,7 +1811,7 @@
>         info = &rinfo->info;
> 
>         strcpy(info->modename, rinfo->drvr_name);
> -       info->node = -1;
> +       info->node = to_kdev_t(-1);
>         info->flags = FBINFO_FLAG_DEFAULT;
>         info->fbops = &riva_fb_ops;

This should be assigned to "NODEV" not "to_kdev_t(-1)".

Several fbdev drivers need this change.

	Jeff


-- 
Jeff Garzik      | Alternate titles for LOTR:
Building 1024    | Fast Times at Uruk-Hai
MandrakeSoft     | The Took, the Elf, His Daughter and Her Lover
                 | Samwise Gamgee: International Hobbit of Mystery

      reply	other threads:[~2002-01-06 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-06 21:02 [patch] A very little patch to make rivafb to be compiled Evgeniy Polyakov
2002-01-06 21:59 ` Jeff Garzik [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=3C38C8DA.1FE44A47@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=ajoshi@shell.unixbox.com \
    --cc=johnpol@2ka.mipt.ru \
    --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