diff options
| author | David Rientjes <[email protected]> | 2019-07-12 20:41:58 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-07-18 05:39:54 +0000 |
| commit | 83bf42510d7f7e1daa692c096e8e9919334d7b57 (patch) | |
| tree | d7b1ccc9672d03abc0a3465755716e7c0b0d24d7 /tools/perf/scripts/python/sctop.py | |
| parent | crypto: ccp/gcm - use const time tag comparison. (diff) | |
| download | kernel-83bf42510d7f7e1daa692c096e8e9919334d7b57.tar.gz kernel-83bf42510d7f7e1daa692c096e8e9919334d7b57.zip | |
crypto: ccp - Fix SEV_VERSION_GREATER_OR_EQUAL
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 command")
Reported-by: Cfir Cohen <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Acked-by: Tom Lendacky <[email protected]>
Acked-by: Gary R Hook <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
