ata: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
Saves a bit of text as the call takes fewer args. Coalesce a few formats. Convert a few bare printks to pr_cont. $ size drivers/ata/built-in.o* text data bss dec hex filename 558429 73893 117864 750186 b726a drivers/ata/built-in.o.allyesconfig.new 559574 73893 117888 751355 b76fb drivers/ata/built-in.o.allyesconfig.old 149567 14689 4220 168476 2921c drivers/ata/built-in.o.defconfig.new 149851 14689 4220 168760 29338 drivers/ata/built-in.o.defconfig.old Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
这个提交包含在:
@@ -149,8 +149,7 @@ static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_devi
|
||||
ppi[1] = π
|
||||
|
||||
if ((pcicfg & 0x40) == 0) {
|
||||
dev_printk(KERN_WARNING, &pdev->dev,
|
||||
"DMA mode disabled. Enabling.\n");
|
||||
dev_warn(&pdev->dev, "DMA mode disabled. Enabling.\n");
|
||||
pci_write_config_byte(pdev, 0x60, pcicfg | 0x40);
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户