linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Always zero test in arch/i386/pci/mmconfig-shared.c
@ 2007-07-10 18:22 Scott Ashcroft
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Ashcroft @ 2007-07-10 18:22 UTC (permalink / raw)
  To: Kernel development list

I don't think it makes any change to subsequent flow but the code in 
pci_mmcfg_check_hostbridge is:

pci_mmcfg_config_num = 0;

...

if (name) {
	printk(KERN_INFO "PCI: Found %s %s MMCONFIG support.\n",
	       name, pci_mmcfg_config_num ? "with" : "without");
}

So it will always prints "without".

I'd make a patch but I'm not sure what this fix is. Just drop the test, 
the printk or make it say "which might possibly have"?

Cheers,
Scott

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-14  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.nwpKC6+7UvIqGGeRe+rNP7ZO5P4@ifi.uio.no>
2007-07-13 23:42 ` Always zero test in arch/i386/pci/mmconfig-shared.c Robert Hancock
2007-07-14  0:18   ` Scott Ashcroft
2007-07-10 18:22 Scott Ashcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).