[PATCH v2 0/3] staging: greybus: smatch warning fixes
Rui Miguel Silva
rmfrfs at gmail.com
Fri Sep 30 18:24:30 UTC 2016
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
More information about the devel
mailing list