commit | b3d40c3ec3dc4ad78017de6c3a38979f57aaaab8 | [log] [tgz] |
---|---|---|
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | Tue Nov 22 21:48:23 2022 +0800 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Jan 02 13:50:14 2023 +0100 |
tree | 0847d321031afa770bf1149a9dafd67b02f5632d | |
parent | 54f27dc53f1764986d417cfafe1013806deba668 [diff] |
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 <jiasheng@iscas.ac.cn> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>