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:
|
||
|---|---|---|
| .. | ||
| ipc | ||
| ishtp | ||
| Kconfig | ||
| Makefile | ||
| ishtp-fw-loader.c | ||
| ishtp-hid-client.c | ||
| ishtp-hid.c | ||
| ishtp-hid.h | ||