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