[PATCH v2 0/3] staging: greybus: smatch warning fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux