Commit 2b5960a0 authored by Damien Le Moal's avatar Damien Le Moal

ata: pata_macio: Fix compilation warning

Change the debug print format for the PIO, MWDMA and UDMA masks from
long to int to match the new type used for these fields in struct
ata_port_info.

Fixes: f0a6d77b ("ata: make transfer mode masks *unsigned int*")
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
parent e06233f9
...@@ -1028,7 +1028,7 @@ static void pmac_macio_calc_timing_masks(struct pata_macio_priv *priv, ...@@ -1028,7 +1028,7 @@ static void pmac_macio_calc_timing_masks(struct pata_macio_priv *priv,
} }
i++; i++;
} }
dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n", dev_dbg(priv->dev, "Supported masks: PIO=%x, MWDMA=%x, UDMA=%x\n",
pinfo->pio_mask, pinfo->mwdma_mask, pinfo->udma_mask); pinfo->pio_mask, pinfo->mwdma_mask, pinfo->udma_mask);
} }
......
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