commit | 0398d4ab1677f7d8cd43aac2aa29a93dfcf9e2e3 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Thu Nov 14 15:30:05 2019 +0800 |
committer | Vasily Gorbik <gor@linux.ibm.com> | Wed Nov 20 12:58:12 2019 +0100 |
tree | 7c917ec8fbe0c2648e3901387861e1923c1e5a47 | |
parent | 8b57e7c852fc58a62e668a83c0fa8d9246131803 [diff] |
s390/crypto: Fix unsigned variable compared with zero s390_crypto_shash_parmsize() return type is int, it should not be stored in a unsigned variable, which compared with zero. Reported-by: Hulk Robot <hulkci@huawei.com> Fixes: 3c2eb6b76cab ("s390/crypto: Support for SHA3 via CPACF (MSA6)") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Joerg Schmidbauer <jschmidb@linux.vnet.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>