diff options
| author | David E. Box <david.e.box@linux.intel.com> | 2026-03-13 04:51:41 +0300 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-03-17 19:51:12 +0300 |
| commit | 9577c74c96f88d807d1ba005adbf5952e7127e55 (patch) | |
| tree | 2229467a9f9d30ea43caddb665b86513d2ea46a2 /include/linux/stackprotector.h | |
| parent | 904b333fc51cc045941df9656302449a0fc9978e (diff) | |
| download | linux-9577c74c96f88d807d1ba005adbf5952e7127e55.tar.xz | |
platform/x86/intel/vsec: Make driver_data info const
Treat PCI id->driver_data (intel_vsec_platform_info) as read-only by making
vsec_priv->info a const pointer and updating all function signatures to
accept const intel_vsec_platform_info *.
This improves const-correctness and clarifies that the platform info data
from the driver_data table is not meant to be modified at runtime.
No functional changes intended.
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patch.msgid.link/20260313015202.3660072-3-david.e.box@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
