mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] aty128fb: do not release unrequested range
Date: Tue, 14 Dec 2004 22:13:17 +0100	[thread overview]
Message-ID: <aec7e5c304121413135a088aaf@mail.gmail.com> (raw)

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

The aty128fb driver in 2.6.10-rc3 tries to release an unrequested
range during driver unload. This results in the following printout on
my Apple G4 Cube:

Trying to free nonexistent resource <00802400-008024ff>

The remedy is simple - do not release the unrequested range.

/ magnus

[-- Attachment #2: linux-2.6.10-rc3-aty128fb_norelease.patch --]
[-- Type: application/octet-stream, Size: 499 bytes --]

--- linux-2.6.10-rc3/drivers/video/aty/aty128fb.c	2004-12-03 15:00:54.000000000 +0100
+++ linux-2.6.10-rc3-aty128fb_norelease/drivers/video/aty/aty128fb.c	2004-12-12 16:45:47.120423752 +0100
@@ -2016,8 +2016,6 @@
 
 	release_mem_region(pci_resource_start(pdev, 0),
 			   pci_resource_len(pdev, 0));
-	release_mem_region(pci_resource_start(pdev, 1),
-			   pci_resource_len(pdev, 1));
 	release_mem_region(pci_resource_start(pdev, 2),
 			   pci_resource_len(pdev, 2));
 	framebuffer_release(info);

                 reply	other threads:[~2004-12-14 21:13 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=aec7e5c304121413135a088aaf@mail.gmail.com \
    --to=magnus.damm@gmail.com \
    --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

Powered by JetHome