]> git.baikalelectronics.ru Git - kernel.git/commit
ata: pata_macio: Fix compilation warning
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 20 Jun 2022 00:50:27 +0000 (09:50 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 20 Jun 2022 11:02:21 +0000 (20:02 +0900)
commit8f503364f724fcf014288bf82b48e417ae59f773
tree0d91b7d7a2a3aeff5455741e919d2eef07000a94
parentada6ca02dbe717c54f5982ea8df7eeaa7d52d58f
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: cf71c0be319b ("ata: make transfer mode masks *unsigned int*")
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_macio.c