[SCSI] struct device - replace bus_id with dev_name(), dev_set_name()
[jejb: limit ioctl to returning 20 characters to avoid overrun on long device names and add a few more conversions] Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
这个提交包含在:
@@ -137,8 +137,8 @@ zalon_probe(struct parisc_device *dev)
|
||||
goto fail;
|
||||
|
||||
if (request_irq(dev->irq, ncr53c8xx_intr, IRQF_SHARED, "zalon", host)) {
|
||||
printk(KERN_ERR "%s: irq problem with %d, detaching\n ",
|
||||
dev->dev.bus_id, dev->irq);
|
||||
dev_printk(KERN_ERR, dev, "irq problem with %d, detaching\n ",
|
||||
dev->irq);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户