mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Andres Salomon" <dilinger@voxel.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.54 atyfb_base.c compile fix
Date: Thu, 02 Jan 2003 01:30:58 -0500	[thread overview]
Message-ID: <pan.2003.01.02.06.30.55.638527@voxel.net> (raw)

atyfb doesn't compile for me; this fixes it.  Someone was referencing the
wrong variable (or fb_cursor and aty_cursor used to be similar, and
fb_cursor changed).


--- a/drivers/video/aty/atyfb_base.c.orig       2003-01-02 00:22:48.000000000 -0500
+++ b/drivers/video/aty/atyfb_base.c    2003-01-02 01:24:15.000000000 -0500
@@ -2605,12 +2605,12 @@
        if (info->screen_base)
                iounmap((void *) info->screen_base);
 #ifdef __BIG_ENDIAN
-       if (info->cursor && info->cursor->ram)
-               iounmap(info->cursor->ram);
+       if (par->cursor && par->cursor->ram)
+               iounmap(par->cursor->ram);
 #endif
 #endif
-       if (info->cursor)
-               kfree(info->cursor);
+       if (par->cursor)
+               kfree(par->cursor);
 #ifdef __sparc__
        if (par->mmap_map)
                kfree(par->mmap_map);




             reply	other threads:[~2003-01-02  6:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-02  6:30 Andres Salomon [this message]
2003-01-06 21:50 ` James Simmons
2003-01-06 22:09   ` Andres Salomon
2003-01-07 21:59     ` James Simmons

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=pan.2003.01.02.06.30.55.638527@voxel.net \
    --to=dilinger@voxel.net \
    --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®