Message ID | 20240227190134.1592072-1-david.e.box@linux.intel.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | [V2,1/3] platform/x86/intel/vsec: Remove nuisance message | expand |
On Tue, 27 Feb 2024 11:01:32 -0800, David E. Box wrote: > intel_vsec_walk_header() is used to configure features from devices that > don't provide a PCI VSEC or DVSEC structure. Some of these features may > be unsupported and fail to load. Ignore them silently as we do for > unsupported features described by VSEC/DVSEC. > > Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while. The list of commits applied: [1/3] platform/x86/intel/vsec: Remove nuisance message commit: ad742f6580e1d50a5482fc4f2ed0d248fa784677 [2/3] platform/x86/intel/pmc/lnl: Remove SSRAM support commit: 728720381879e9e0bc68ff9edca52261c1f5bc31 [3/3] platform/x86/intel/pmc/arl: Put GNA device in D3 commit: a5e28e2b384fe5c8fed36907cf4297d629612bdb -- i.
diff --git a/drivers/platform/x86/intel/vsec.c b/drivers/platform/x86/intel/vsec.c index 778eb0aa3479..0fdfaf3a4f5c 100644 --- a/drivers/platform/x86/intel/vsec.c +++ b/drivers/platform/x86/intel/vsec.c @@ -236,10 +236,7 @@ static bool intel_vsec_walk_header(struct pci_dev *pdev, for ( ; *header; header++) { ret = intel_vsec_add_dev(pdev, *header, info); - if (ret) - dev_info(&pdev->dev, "Could not add device for VSEC id %d\n", - (*header)->id); - else + if (!ret) have_devices = true; }