On Wed, Apr 17, 2024 at 07:49:45PM +0200, Niklas Cassel wrote: > @@ -761,6 +755,7 @@ static int pci_epf_test_core_init(struct pci_epf *epf) > if (ret) > return ret; > > + msi_capable = epc_features->msi_capable; > if (msi_capable) { Or just: if (epc_features->msi_capable) { ;) > ret = pci_epc_set_msi(epc, epf->func_no, epf->vfunc_no, > epf->msi_interrupts); regards, dan carpenter