]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/advansys.c
module: neaten __find_symbol, rename to find_symbol
[linux-2.6-omap-h63xx.git] / drivers / scsi / advansys.c
index 3c2d6888bb8c36326e79703c69663486228d85c4..8591585e5cc55c27669a004c48c048521a3dc9e4 100644 (file)
@@ -6439,7 +6439,7 @@ static int AdvLoadMicrocode(AdvPortAddr iop_base, unsigned char *buf, int size,
                        i += 2;
                        len += 2;
                } else {
-                       unsigned char off = buf[i] * 2;
+                       unsigned int off = buf[i] * 2;
                        unsigned short word = (buf[off + 1] << 8) | buf[off];
                        AdvWriteWordAutoIncLram(iop_base, word);
                        len += 2;