diff options
| author | Vasily Averin <[email protected]> | 2020-06-13 14:18:33 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2020-07-02 14:49:00 +0000 |
| commit | ccf6fb858e17a8f8a914a1c6444d277cfedfeae6 (patch) | |
| tree | a9f693aa1d58d7b254ca882f0251a45d4d3a58ed /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | tpm_tis_spi: Don't send anything during flow control (diff) | |
| download | kernel-ccf6fb858e17a8f8a914a1c6444d277cfedfeae6.tar.gz kernel-ccf6fb858e17a8f8a914a1c6444d277cfedfeae6.zip | |
tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
Found by smatch:
drivers/char/tpm/tpm_tis_core.c:1088 tpm_tis_core_init() warn:
variable dereferenced before check 'chip->ops' (see line 979)
'chip->ops' is assigned in the beginning of function
in tpmm_chip_alloc->tpm_chip_alloc
and is used before first possible goto to error path.
Signed-off-by: Vasily Averin <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
