[PATCH 0/3] staging: wilc1000: correct Smatch warnings & use flexible-array member

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

 



From: Ajay Singh <ajay.kathat@xxxxxxxxxxxxx>

This patch series contains changes to address few Smatch static checker
reported warnings. Also added one patch to make use of flexible-array
member instead of zero-length array for few cases which were missed
earlier.

Ajay Singh (3):
  staging: wilc1000: use correct data for memcpy in
    wilc_hif_pack_sta_param()
  staging: wilc1000: remove unnecessary always true 'if' conditions
  staging: wilc1000: use flexible-array member instead of zero-length
    array

 drivers/staging/wilc1000/cfg80211.c | 26 ++++++++++++--------------
 drivers/staging/wilc1000/hif.c      |  2 +-
 drivers/staging/wilc1000/spi.c      | 10 +++++-----
 drivers/staging/wilc1000/wlan.c     |  6 ++----
 4 files changed, 20 insertions(+), 24 deletions(-)

-- 
2.24.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