From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Fri, 9 Dec 2016 15:25:35 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): One function call less in gb_camera_configure_streams() after error detection light: Use kcalloc() in two functions Check return value of a kstrndup() call in gb_lights_light_config() Use kcalloc() in gb_power_supplies_setup() drivers/staging/greybus/camera.c | 16 +++++++++------- drivers/staging/greybus/light.c | 12 ++++++++---- drivers/staging/greybus/power_supply.c | 7 +++---- 3 files changed, 20 insertions(+), 15 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html