On Sun, Aug 31, 2008 at 11:03 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:how about diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index cce2f4c..3b5269a 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -240,6 +240,11 @@ static int __pci_read_base(struct pci_dev *dev, enum pci_bar_type type, pci_read_config_dword(dev, pos, &l); pci_write_config_dword(dev, pos, mask); pci_read_config_dword(dev, pos, &sz); + + /* sticky and non changable */ + if (sz == l) + goto fail; + pci_write_config_dword(dev, pos, l); /* Rafael, can you check attach one to see if we still have warning ? YH
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
| Linux Kernel Mailin |
