On Tue, Feb 23, 2021 at 02:00:39PM +0000, Wei Yongjun wrote: > Make sure dmi_system_id tables are NULL terminated. > > Fixes: a2ac0f48a07c ("iwlwifi: mvm: implement approved list for the PPAG feature") > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> We received a report about a crash in iwlwifi when compiled with LTO and this fix resolves it. Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx> > --- > drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c > index 15e2773ce7e7..5ee64f7f3c85 100644 > --- a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c > +++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c > @@ -1083,6 +1083,7 @@ static const struct dmi_system_id dmi_ppag_approved_list[] = { > DMI_MATCH(DMI_SYS_VENDOR, "ASUSTek COMPUTER INC."), > }, > }, > + {} > }; > > static int iwl_mvm_ppag_init(struct iwl_mvm *mvm) >