[PATCH v4 04/10] x86/microcode/AMD: install_equiv_cpu_table() should not return a signed int

2018-03-15 Thread Maciej S. Szmigiero
The maximum possible value returned by install_equiv_cpu_table() is UINT_MAX (on a 64-bit kernel). This is more than (signed) int type currently returned by this function can hold so this function will need to return an unsigned int instead. In order to avoid an overflow of this type on a 64-bit

[PATCH v4 04/10] x86/microcode/AMD: install_equiv_cpu_table() should not return a signed int

2018-03-15 Thread Maciej S. Szmigiero
The maximum possible value returned by install_equiv_cpu_table() is UINT_MAX (on a 64-bit kernel). This is more than (signed) int type currently returned by this function can hold so this function will need to return an unsigned int instead. In order to avoid an overflow of this type on a 64-bit