Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Clean up E7520/7320/7525 quirk printk.

The printk level in this printk is bogus, as the previous printk
didn't have a terminating \n resulting in ..

Intel E7520/7320/7525 detected.<6>Disabling irq balancing and affinity

It also never printed a \n at all in the case where we didn't do
the quirk.

Change it to only make noise if it actually does something useful.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Dave Jones and committed by
Linus Torvalds
38377be8 40e48eed

+2 -3
+2 -3
arch/i386/kernel/quirks.c
··· 20 20 if (rev > 0x9) 21 21 return; 22 22 23 - printk(KERN_INFO "Intel E7520/7320/7525 detected."); 24 - 25 23 /* enable access to config space*/ 26 24 pci_read_config_byte(dev, 0xf4, &config); 27 25 pci_write_config_byte(dev, 0xf4, config|0x2); ··· 28 30 raw_pci_ops->read(0, 0, 0x40, 0x4c, 2, &word); 29 31 30 32 if (!(word & (1 << 13))) { 31 - printk(KERN_INFO "Disabling irq balancing and affinity\n"); 33 + printk(KERN_INFO "Intel E7520/7320/7525 detected. " 34 + "Disabling irq balancing and affinity\n"); 32 35 #ifdef CONFIG_IRQBALANCE 33 36 irqbalance_disable(""); 34 37 #endif