ti: ethernet: cpdma: Use correct format for genpool_*
Now that we can compile davinci_cpdma.c on 64-bit hosts, we can see that
the format used for printing a size_t type is incorrect, use %zd
accordingly.
Fixes: aeec302104
("net: ethernet: ti: cpdma: remove used_desc counter")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6f6e434aa2
commit
b4eb739368
|
@ -191,7 +191,7 @@ static void cpdma_desc_pool_destroy(struct cpdma_ctlr *ctlr)
|
|||
return;
|
||||
|
||||
WARN(gen_pool_size(pool->gen_pool) != gen_pool_avail(pool->gen_pool),
|
||||
"cpdma_desc_pool size %d != avail %d",
|
||||
"cpdma_desc_pool size %zd != avail %zd",
|
||||
gen_pool_size(pool->gen_pool),
|
||||
gen_pool_avail(pool->gen_pool));
|
||||
if (pool->cpumap)
|
||||
|
|
Loading…
Reference in New Issue