From: Dan Carpenter Date: Mon, 11 Mar 2013 11:41:51 +0000 (+0300) Subject: pata_legacy: bogus clock in opti82c46x_set_piomode() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~91^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0044c9822ab7b60b493bc135ec258227a082b5a;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed