Skip to content

Commit

Permalink
platform/x86/intel/vsec: Remove nuisance message
Browse files Browse the repository at this point in the history
mainline:701d40af59373ac3a60c620cbd0ceff7b2b8e565
severity: Moderate

upstream commit 701d40a ("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.

Intel-SIG: commit 701d40a ("platform/x86/intel/vsec: Remove nuisance message")

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]>
[ Quanxian Wang: amend commit log ]
Signed-off-by: Quanxian Wang <[email protected]>
  • Loading branch information
debox1 authored and matrix-wsk committed Jun 14, 2024
1 parent 481ae3e commit db5b912
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/platform/x86/intel/vsec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit db5b912

Please sign in to comment.