commit | b78d3795177db479107b3493608bf088117325e3 | [log] [tgz] |
---|---|---|
author | Janakarajan Natarajan <Janakarajan.Natarajan@amd.com> | Fri Sep 14 17:32:03 2018 -0500 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 21 13:24:52 2018 +0800 |
tree | 51ca9131b252169d3ced84bb5376e37baa3ba650 | |
parent | ac3c8f36c31d2f0add4eeaa42c7d0540d7c60583 [diff] |
crypto: ccp - Fix static checker warning Under certain configuration SEV functions can be defined as no-op. In such a case error can be uninitialized. Initialize the variable to 0. Cc: Dan Carpenter <Dan.Carpenter@oracle.com> Reported-by: Dan Carpenter <Dan.Carpenter@oracle.com> Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com> Acked-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>