Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David E. Box and committed by
Ilpo Järvinen
701d40af f9124f2a

+1 -4
+1 -4
drivers/platform/x86/intel/vsec.c
··· 236 236 237 237 for ( ; *header; header++) { 238 238 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) 243 240 have_devices = true; 244 241 } 245 242