"sysclk" is used as an index into a 4 element array.  My static
checker complains because it can be out of bounds.  From the
context, it looks like there is a right bit shift missing.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
        u8 sysclk;
 
        /* Get the clock */
-       sysclk = opti_syscfg(0xAC) & 0xC0;      /* BIOS set */
+       sysclk = (opti_syscfg(0xAC) & 0xC0) >> 6;       /* BIOS set */
 
        /* Enter configuration mode */
        ioread16(ap->ioaddr.error_addr);