Commit d458f4c5 authored by SZ Lin's avatar SZ Lin Committed by David S. Miller

net: moxa: Prefer 'unsigned int' to bare use of 'unsigned'

Use 'unsigned int' instead of 'unsigned'
This warning is found using checkpatch.pl
Signed-off-by: default avatarSZ Lin <sz.lin@moxa.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68f70d83
...@@ -288,8 +288,8 @@ static int moxart_tx_queue_space(struct net_device *ndev) ...@@ -288,8 +288,8 @@ static int moxart_tx_queue_space(struct net_device *ndev)
static void moxart_tx_finished(struct net_device *ndev) static void moxart_tx_finished(struct net_device *ndev)
{ {
struct moxart_mac_priv_t *priv = netdev_priv(ndev); struct moxart_mac_priv_t *priv = netdev_priv(ndev);
unsigned tx_head = priv->tx_head; unsigned int tx_head = priv->tx_head;
unsigned tx_tail = priv->tx_tail; unsigned int tx_tail = priv->tx_tail;
while (tx_tail != tx_head) { while (tx_tail != tx_head) {
dma_unmap_single(&ndev->dev, priv->tx_mapping[tx_tail], dma_unmap_single(&ndev->dev, priv->tx_mapping[tx_tail],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment