Files
linux/drivers
Chen Zhou 9bb086e5ba staging: greybus: fix a missing-check bug in gb_lights_light_config()
In gb_lights_light_config(), 'light->name' is allocated by kstrndup().
It returns NULL when fails, add check for it.

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Link: https://lore.kernel.org/r/20200401030017.100274-1-chenzhou10@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-13 08:55:26 +02:00
..
2020-04-10 11:32:22 +02:00
2020-04-04 18:07:59 -07:00
2020-04-02 10:41:40 -04:00
2020-04-02 10:41:40 -04:00