commit | e0044c9822ab7b60b493bc135ec258227a082b5a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Mar 11 14:41:51 2013 +0300 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Apr 03 19:53:10 2013 -0400 |
tree | e47da92671758736001b15df13add9afaf25c5df | |
parent | bdfa2e7e5a46d7dcd9ff127fdf198faf90f0e215 [diff] |
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>