]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86, microcode_amd: fix shift warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 21 Aug 2008 20:43:51 +0000 (13:43 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Aug 2008 04:55:21 +0000 (06:55 +0200)
commit5b792d320f28ff83dd4c13f984807e26235f7703
tree51681747d4c731f1ca1b5ba7f6c8b763e0edb41e
parentd45de40934897c6ee5b05141f7895bbb28512395
x86, microcode_amd: fix shift warning

microcode_amd.c uses ">> 32" on a 32-bit value, so gcc warns about that.
The code could use something like this *untested* patch.

linux-next-20080821/arch/x86/kernel/microcode_amd.c:229: warning: right shift count >= width of type

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_amd.c