Re: [PATCH -next] microcode_amd: fix shift warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:

> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>

applied to tip/x86/microcode - thanks Randy!

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux