diff options
| author | Jiasheng Jiang <[email protected]> | 2022-11-22 13:48:23 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2023-01-02 12:50:14 +0000 |
| commit | b3d40c3ec3dc4ad78017de6c3a38979f57aaaab8 (patch) | |
| tree | 0847d321031afa770bf1149a9dafd67b02f5632d /tools/perf/scripts/python/libxed.py | |
| parent | HID: sony: Fix unused function warning (diff) | |
| download | kernel-b3d40c3ec3dc4ad78017de6c3a38979f57aaaab8.tar.gz kernel-b3d40c3ec3dc4ad78017de6c3a38979f57aaaab8.zip | |
HID: intel_ish-hid: Add check for ishtp_dma_tx_map
As the kcalloc may return NULL pointer,
it should be better to check the ishtp_dma_tx_map
before use in order to avoid NULL pointer dereference.
Fixes: 3703f53b99e4 ("HID: intel_ish-hid: ISH Transport layer")
Signed-off-by: Jiasheng Jiang <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
