diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-15 16:50:42 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-21 17:33:39 +0800 |
commit | 9b00eb923f3e60ca76cbc8b31123716f3a87ac6a (patch) | |
tree | 8a36c259cfbfa9b9c696a9b98562fa25a85a65f9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9cf792844d5da59403c1b36e68d65291676d935b (diff) |
crypto: nx - Fix uninitialised hv_nxc on error
The compiler correctly warns that hv_nxc may be used uninitialised
as that will occur when NX-GZIP is unavailable.
Fix it by rearranging the code and delay setting caps_feat until
the final query succeeds.
Fixes: b4ba22114c78 ("crypto/nx: Get NX capabilities for GZIP coprocessor type")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions