WSL2-Linux-Kernel/drivers/misc/ti-st
Colin Ian King 0810f18fce ti-st: handle null allocation return correctly.
static analysis with smatch picked up the following error:

get_platform_data() error: potential null dereference 'dt_pdata'.
  (kzalloc returns null)

Instead, the code should return NULL to avoid the following null
pointer deference.  Also, remove the error message as it is
redundant, the caller emits an error message to alert of a
failure anyhow.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-24 12:16:47 -07:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile
st_core.c drivers:misc:ti-st: protect against bad packets 2015-01-12 05:04:11 -08:00
st_kim.c ti-st: handle null allocation return correctly. 2015-05-24 12:16:47 -07:00
st_ll.c ti-st: add device tree support 2015-01-12 05:04:10 -08:00