diff options
| author | David E. Box <[email protected]> | 2024-02-27 19:01:32 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2024-03-12 10:47:49 +0000 |
| commit | 701d40af59373ac3a60c620cbd0ceff7b2b8e565 (patch) | |
| tree | 66997e9b405164954f5d0f02ae9a4477a4f176d6 /drivers/platform/x86/intel/vsec.c | |
| parent | platform/x86: acer-wmi: Add predator_v4 module parameter (diff) | |
| download | kernel-701d40af59373ac3a60c620cbd0ceff7b2b8e565.tar.gz kernel-701d40af59373ac3a60c620cbd0ceff7b2b8e565.zip | |
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" <[email protected]>
Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/vsec.c')
| -rw-r--r-- | drivers/platform/x86/intel/vsec.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; } |
