diff options
author | Janakarajan Natarajan <Janakarajan.Natarajan@amd.com> | 2018-09-14 17:32:03 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-09-21 13:24:52 +0800 |
commit | b78d3795177db479107b3493608bf088117325e3 (patch) | |
tree | 51ca9131b252169d3ced84bb5376e37baa3ba650 /drivers/spmi | |
parent | ac3c8f36c31d2f0add4eeaa42c7d0540d7c60583 (diff) | |
download | blackbird-op-linux-b78d3795177db479107b3493608bf088117325e3.tar.gz blackbird-op-linux-b78d3795177db479107b3493608bf088117325e3.zip |
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>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions