Skip to content

Commit 701d40a

Browse files
debox1ij-intel
authored andcommitted
platform/x86/intel/vsec: Remove nuisance message
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. Signed-off-by: "David E. Box" <david.e.box@linux.intel.com> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240227190134.1592072-1-david.e.box@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent f9124f2 commit 701d40a

File tree

1 file changed

+1
-4
lines changed
  • drivers/platform/x86/intel

1 file changed

+1
-4
lines changed

drivers/platform/x86/intel/vsec.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,7 @@ static bool intel_vsec_walk_header(struct pci_dev *pdev,
236236

237237
for ( ; *header; header++) {
238238
ret = intel_vsec_add_dev(pdev, *header, info);
239-
if (ret)
240-
dev_info(&pdev->dev, "Could not add device for VSEC id %d\n",
241-
(*header)->id);
242-
else
239+
if (!ret)
243240
have_devices = true;
244241
}
245242

0 commit comments

Comments
 (0)