Re: [patch] crypto: ccp - Fix SEV_VERSION_GREATER_OR_EQUAL

2019-07-10 Thread Lendacky, Thomas
On 7/10/19 4:28 PM, David Rientjes wrote: > SEV_VERSION_GREATER_OR_EQUAL() will fail if upgrading from 2.2 to 3.1, for > example, because the minor version is not equal to or greater than the > major. > > Fix this and move to a static inline function for appropriate type > checking. > > Fixes: ed

[patch] crypto: ccp - Fix SEV_VERSION_GREATER_OR_EQUAL

2019-07-10 Thread David Rientjes
SEV_VERSION_GREATER_OR_EQUAL() will fail if upgrading from 2.2 to 3.1, for example, because the minor version is not equal to or greater than the major. Fix this and move to a static inline function for appropriate type checking. Fixes: edd303ff0e9e ("crypto: ccp - Add DOWNLOAD_FIRMWARE SEV comma