Minor fix for compiler warning when KMEM_TRACKING is enabled

This commit is contained in:
Brian Behlendorf 2009-01-20 13:39:35 -08:00
parent ae3b87f908
commit b6b2acc66e
1 changed files with 1 additions and 1 deletions

View File

@ -1381,7 +1381,7 @@ spl_kmem_fini_tracking(struct list_head *list, spinlock_t *lock)
list_for_each_entry(kd, list, kd_list) list_for_each_entry(kd, list, kd_list)
printk(KERN_WARNING "%p %-5d %-16s %s:%d\n", kd->kd_addr, printk(KERN_WARNING "%p %-5d %-16s %s:%d\n", kd->kd_addr,
kd->kd_size, spl_sprintf_addr(kd, str, 17, 8), (int)kd->kd_size, spl_sprintf_addr(kd, str, 17, 8),
kd->kd_func, kd->kd_line); kd->kd_func, kd->kd_line);
spin_unlock_irqrestore(lock, flags); spin_unlock_irqrestore(lock, flags);