Skip to content
Commit e0044c98 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jeff Garzik
Browse files

pata_legacy: bogus clock in opti82c46x_set_piomode()



"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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent bdfa2e7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment