Merge branch 'for-5.14/dax' into libnvdimm-fixes
[linux-2.6-microblaze.git] / drivers / scsi / aic7xxx / aic7xxx_core.c
index 4b04ab8..a396f04 100644 (file)
@@ -493,7 +493,7 @@ ahc_inq(struct ahc_softc *ahc, u_int port)
        return ((ahc_inb(ahc, port))
              | (ahc_inb(ahc, port+1) << 8)
              | (ahc_inb(ahc, port+2) << 16)
-             | (ahc_inb(ahc, port+3) << 24)
+             | (((uint64_t)ahc_inb(ahc, port+3)) << 24)
              | (((uint64_t)ahc_inb(ahc, port+4)) << 32)
              | (((uint64_t)ahc_inb(ahc, port+5)) << 40)
              | (((uint64_t)ahc_inb(ahc, port+6)) << 48)