Fix several warnings reported by the good tool smatch (another tool to add to the git pre-commit hook).
They are related to the greybus sdio and light protocol drivers. Cheers, Rui v1 -> v2: Dan Carpenter: . use sizeof channel::attrs pointer instead of struct attribute itself. Rui Miguel Silva (3): staging: greybus: sdio: fix cmd_flags check for none response staging: greybus: light: fix attributes allocation staging: greybus: light: check delay_{on|off} before use drivers/staging/greybus/light.c | 6 ++++-- drivers/staging/greybus/sdio.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) -- 2.10.0 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel