diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 13:44:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:44:37 -0500 |
commit | 94b324864ef2a8e461f3933ab99638255299e9f0 (patch) | |
tree | ec1283aa0ff00d774284137525cfdd8a458c71d4 /lib | |
parent | 354655ea9714e5b0e8d23c90a5382986815687e0 (diff) |
swiotlb: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/swiotlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 7f5e21b9c16b..c2a4e6401456 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c | |||
@@ -647,7 +647,7 @@ swiotlb_full(struct device *dev, size_t size, int dir, int do_panic) | |||
647 | * the damage, or panic when the transfer is too big. | 647 | * the damage, or panic when the transfer is too big. |
648 | */ | 648 | */ |
649 | printk(KERN_ERR "DMA: Out of SW-IOMMU space for %zu bytes at " | 649 | printk(KERN_ERR "DMA: Out of SW-IOMMU space for %zu bytes at " |
650 | "device %s\n", size, dev ? dev->bus_id : "?"); | 650 | "device %s\n", size, dev ? dev_name(dev) : "?"); |
651 | 651 | ||
652 | if (size > io_tlb_overflow && do_panic) { | 652 | if (size > io_tlb_overflow && do_panic) { |
653 | if (dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL) | 653 | if (dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL) |