Re: [PATCH 02/15] iwlwifi: mvm: fix gcc-10 zero-length-bounds warning

2020-06-10 Thread Luciano Coelho
On Thu, 2020-04-30 at 23:30 +0200, Arnd Bergmann wrote: > gcc-10 complains when a zero-length array is accessed: > > drivers/net/wireless/intel/iwlwifi/mvm/tx.c: In function > 'iwl_mvm_rx_ba_notif': > drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1929:17: warning: array subscript > 9 is outside th

[PATCH 02/15] iwlwifi: mvm: fix gcc-10 zero-length-bounds warning

2020-04-30 Thread Arnd Bergmann
gcc-10 complains when a zero-length array is accessed: drivers/net/wireless/intel/iwlwifi/mvm/tx.c: In function 'iwl_mvm_rx_ba_notif': drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1929:17: warning: array subscript 9 is outside the bounds of an interior zero-length array 'struct iwl_mvm_compressed