]> git.baikalelectronics.ru Git - kernel.git/commit
ti: ethernet: cpdma: Use correct format for genpool_*
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 21 May 2018 18:45:51 +0000 (11:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 May 2018 20:17:09 +0000 (16:17 -0400)
commitc734b46777118fec73b9941dbc706ac3bc1e4b01
tree64a5af186e2591117a346355c443a6e1c43130bd
parente74b6b4017a5f6b3074651fc6a28edbffaf197f4
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: ea3ec052d342 ("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>
drivers/net/ethernet/ti/davinci_cpdma.c