diff options
| author | Kiran Padwal <[email protected]> | 2014-09-19 12:44:39 +0530 |
|---|---|---|
| committer | Peter Huewe <[email protected]> | 2015-01-17 14:00:05 +0100 |
| commit | bb95cd34ba4c9467114acc78eeddd53ab1c10085 (patch) | |
| tree | 7805a7a694e47e1c91175d623c31fff3ef4d1bd8 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 398a1e71dc827b994b7f2f56c7c2186fea7f8d75 (diff) | |
char: tpm: Add missing error check for devm_kzalloc
Currently these driver are missing a check on the return value of devm_kzalloc,
which would cause a NULL pointer dereference in a OOM situation.
This patch adds a missing check for tpm_i2c_atmel.c and tpm_i2c_nuvoton.c
Cc: [email protected]
Signed-off-by: Kiran Padwal <[email protected]>
Reviewed-By: Jason Gunthorpe <[email protected]>
Signed-off-by: Peter Huewe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions