mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] aty128fb: do not release unrequested range
@ 2004-12-14 21:13 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2004-12-14 21:13 UTC (permalink / raw)
  To: linux-kernel

[-- 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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-14 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-14 21:13 [PATCH] aty128fb: do not release unrequested range Magnus Damm

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