mbox series

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

Message ID 20200302162226.4196-1-ajay.kathat@microchip.com
Headers show
Series staging: wilc1000: correct Smatch warnings & use flexible-array member | expand

Message

Ajay Singh March 2, 2020, 4:22 p.m. UTC
From: Ajay Singh <ajay.kathat@microchip.com>

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(-)