ata: make transfer mode masks *unsigned int*
[sfrench/cifs-2.6.git] / drivers / ata / pata_hpt366.c
index c99e8f0708b3b952046460bd55fa3d1c462af412..7e441fb304d3c4decf220e325d67e540c50a4d47 100644 (file)
@@ -194,7 +194,7 @@ static int hpt_dma_blacklisted(const struct ata_device *dev, char *modestr,
  *     Block UDMA on devices that cause trouble with this controller.
  */
 
-static unsigned long hpt366_filter(struct ata_device *adev, unsigned long mask)
+static unsigned int hpt366_filter(struct ata_device *adev, unsigned int mask)
 {
        if (adev->class == ATA_DEV_ATA) {
                if (hpt_dma_blacklisted(adev, "UDMA",  bad_ata33))