From: Brian Behlendorf Date: Tue, 20 Jan 2009 21:39:35 +0000 (-0800) Subject: Minor fix for compiler warning when KMEM_TRACKING is enabled X-Git-Tag: spl-0.4.1~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6b2acc66e9621ec8c218875b2e5395d0d1841fe;p=spl Minor fix for compiler warning when KMEM_TRACKING is enabled --- diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c index e580fbb..c6cd914 100644 --- a/module/spl/spl-kmem.c +++ b/module/spl/spl-kmem.c @@ -1381,7 +1381,7 @@ spl_kmem_fini_tracking(struct list_head *list, spinlock_t *lock) list_for_each_entry(kd, list, kd_list) 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); spin_unlock_irqrestore(lock, flags);