diff options
| author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2026-08-11 15:15:10 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-08-18 17:30:16 +0300 |
| commit | e45d6b8472861d3bac86bb37f8556a7c5aca3266 (patch) | |
| tree | dabd016d4ceb785f252eac522557291fb0957e65 /include/linux/stackprotector.h | |
| parent | 124e2dbabe460c2a6e7440f4ad8af560131295c9 (diff) | |
platform/x86: ISST: Validate max level for set feature
Validate the level before setting, so that it fails early instead of
failing later when checking the bit mask for allowed levels.
Fixes: ea009e4769fa3 ("platform/x86: ISST: Add SST-PP support via TPMI")
Cc: stable@vger.kernel.org
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20260811221514.3905817-3-srinivas.pandruvada@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
